-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: drop datetime feature (or drop FieldValue
)
#169
Comments
One more argument for this: feature-gating an enum value can make dependent crates stop building if the feature gets pulled in by another crate. I gave an example in georust/wkt#50 (comment). |
On the other hand, we could try to do this "the right way" and define a set of conversion traits. This way we could get rid of the enum and still be able to make the One problem with this approach would be the "loose" typing we currently have in |
FieldValue
)
For me, time is essential to geoprocessing, so I don't see the point in having this feature-gated. And if we keep it, I guess you are right in working on the enum value. |
we can drop the feature gate now and change to conversion traits later. I think the additional dependency is fine. |
Actually, In a different PR, of course. |
really? That is very unfortunate. |
Yeah, see e.g. this soundness issue from one year ago: chronotope/chrono#499. https://github.com/chronotope/chrono/commits/main shows some movement, but the last commit before was from January. |
if i get it right the issue is with localtime and time removed that in 0.3. I guess we will never need local time and should be able to use time instead. |
I think we should drop the feature and eat the extra dependency.
chrono
builds in about 3 seconds and having different code paths can be annoying (see 3765736 for a recent example, whereclippy
failed because of an apparently infallible function returningResult
).The text was updated successfully, but these errors were encountered: