Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1024: geo-types: Weaken `serde/std` and `approx/std` features r=frewsxcv,lnicola a=w-flo Previously, if I wanted only the `std` feature of geo_types, this would enable the `serde` and `approx` features, too. Change these features to be "weak dependency features", so they're only enabled (and their crates pulled in) if the corresponding optional crate is already pulled in for other reasons. --- - [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/main/CODE_OF_CONDUCT.md). - [ ] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users. --- I'm always eager to optimize my build process, and this would help with that :-) But I'm not sure if this could potentially be a breaking change? Ideally, it would be a purely internal change, but I'm not sure if it could cause issues for downstream crates / users. And I'm not sure if a CHANGES.md entry would be needed / what it should say? Co-authored-by: Florian Will <[email protected]>
- Loading branch information