Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

[dependencies]
geo = { version = "0.33.1", default-features = false, features = ["earcutr", "proj-network", "serde", "multithreading", "spade", "use-proj", "use-serde"] }
default = earcut, multithreading, spade

These default features are set whenever geo is added without default-features = false somewhere in the dependency tree.

earcutr = earcut

deprecated spelling earcutr->earcut

proj-network = proj

Enables network of proj

serde use-serde?

Enables serde, serde of geo-types

multithreading default

Enables multithreading of geo-types, allow_multithreading of i_overlay ^4.5.1, <4.6.0

spade default

Enables spade, spade_2 of geo-types

Affects algorithm::triangulate_delaunay, algorithm::repair_polygon, algorithm::triangulate_spade, algorithm::voronoi

use-proj = proj

Deprecated feature flags with "use-" prefix from the days before dep:

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.

earcut default earcutr?

Enables earcut =0.4.5

NOTE: The 0.4.7 release introduced semver incompatible trait constraints We can adapt to them, but it'll have to be in a breaking release. Tracked here: https://github.com/georust/geo/issues/1526

Affects algorithm::triangulate_earcut

proj proj-network? use-proj?

Affects algorithm::proj, algorithm::transform