Cargo Features
[dependencies]
snapr = { version = "0.7.1", default-features = false, features = ["rayon", "svg", "tokio", "tracing"] }
- default = rayon, svg
-
These default features are set whenever
snapr
is added without
somewhere in the dependency tree.default-features = false - rayon default
-
Enables rayon
Affects
fetchers::IndividualTileFetcher
… - svg default
-
Enables resvg
Affects
point::PointStyle.label
,drawing::svg
… - tokio
-
Enables async-trait and tokio
Affects
fetchers::AsyncIndividualTileFetcher
,fetchers::AsyncBatchTileFetcher
,fetchers::AsyncTileFetcher
,snapr::tokio
… - tracing
-
Enables tracing