Cargo Features
[dependencies]
s2-pmtiles = { version = "1.0.0", default-features = false, features = ["alloc", "std"] }
- default = std
-
The
std
feature is set by default whenevers2-pmtiles
is added without
somewhere in the dependency tree.default-features = false - alloc std
-
Provide impls for types in the Rust core allocation and collections library
- std default = alloc, flate2
-
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
reader::FileManager
,writer::FileWriter
…
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.