Cargo Features
[dependencies]
geo = { version = "0.32.0", default-features = false, features = ["proj-network", "serde", "multithreading", "use-proj", "use-serde", "earcutr", "spade"] }
- default = earcutr, multithreading, spade
-
These default features are set whenever
geois added withoutsomewhere in the dependency tree.default-features = false - proj-network = proj
- serde use-serde?
- multithreading default
-
Enables multithreading of geo-types, allow_multithreading of i_overlay ^4.0.0, <4.1.0
- use-proj = proj
-
Deprecated feature flags with "use-" prefix from the days before
dep:Affects
algorithm::proj,algorithm::transform… - use-serde = serde
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- earcutr default
-
Enables earcutr ^0.4.2
Affects
algorithm::triangulate_earcut… - spade default
-
Affects
algorithm::triangulate_delaunay,algorithm::triangulate_spade… - proj proj-network? use-proj?