Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize features of indexmap and chrono (#1000)
* Disable default features of chrono; only enable features needed Chrono's default features contain "oldtime", which is deprecated. According to [the docs](https://docs.rs/chrono/0.4.19/chrono/#duration), > new code should disable the oldtime feature and use the > chrono::Duration type instead. The oldtime feature is enabled by > default for backwards compatibility, but future versions of Chrono > are likely to remove the feature entirely. so follow that recommendation by setting default-features to false. And actually, only Arrow needs the "clock" feature, so all the other features can stay off too to minimize the feature set that projects depending on arrow or parquet are forced to enable. * Explicitly enable indexmap's "std" feature The indexmap crate uses the autocfg crate to do target detection to determine whether `std` is available. Arrow isn't targeting `no_std` environments, so the target detection isn't necessary. This might save some build time. indexmap-rs/indexmap#145
- Loading branch information