-
Notifications
You must be signed in to change notification settings - Fork 537
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
Cleanups #661
Cleanups #661
Conversation
b8b4694
to
013507c
Compare
use crate::offset::{FixedOffset, LocalResult, TimeZone, Utc}; | ||
use core::fmt; | ||
use core::ops::Deref; | ||
use rustc_serialize::{Decodable, Decoder, Encodable, Encoder}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use rustc_serialize? Serde?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not making any backwards incompatible changes here, so that means keeping rustc_serialize.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although serde should be the default.
Do you mean that we should enable the serde feature by default? I don't agree -- most well-maintained libraries keep it as an off-by-default feature, so that downstream users who don't need it don't have to compile the extra dependency. |
My goal here is to make the codebase easier to navigate and take advantage of the MSRV upgrade from #653 to employ more modern Rust standards.