Closed piotrkilczuk closed 4 years ago
Maybe it's only 450 LOC because of the dependencies :)
Delorean is the only direct dependency, and (most/all of) the others are quite common, so chances are they're already installed on any given system; I have a fairly recent 3.8 installation, haven't installed gnarl and already have all but two (babel, tzlocal).
Maybe it's only 450 LOC because of the dependencies :)
This is exactly the reason. Gnarl itself is not a lot of code, but date/time handling in particular tends to be tricky and I find Delorean to be one of the most complete libraries out there, which also provides a nice API.
That being said, I would be happy to accept a patch that makes Delorean an optional dependency.
Not sure if you are still maintaining this lib?
Does
gnarl
really require so many dependencies provided it's just 450 LOC?