Cargo Features
[dependencies]
throw = { version = "0.1.7", default-features = false, features = ["unlimited-points", "serde-1", "serde-1-std"] }
- default = std, unlimited-points
-
These default features are set whenever
throw
is added without
somewhere in the dependency tree.default-features = false - std unlimited-points default
- serde-1 = serde, serde_derive
-
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
- serde-1-std = serde, serde_derive
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.
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.