georust / geo

Geospatial primitives and algorithms for Rust
https://crates.io/crates/geo
Other
1.49k stars 194 forks source link

Remove unnecessary `extern crate` declarations. #1068

Closed michaelkirk closed 10 months ago

michaelkirk commented 10 months ago

extern crate used to be needed for any dependency and to use macros. As of rust 2018, this is no longer true.

The remaining use cases we have for extern crate are rare:

  1. importing macros into the global namespace for frequently used macros
  2. for sysroot crates like alloc