Cargo Features
[dependencies]
vector3d = { version = "0.2.1", default-features = false, features = ["strict", "serde1", "clapme", "auto-args"] }
- strict
-
Treat warnings as a build error.
- default = serde1
-
The
serde1
feature is set by default whenevervector3d
is added without
somewhere in the dependency tree.default-features = false - serde1 default = serde, serde_derive
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.
- serde serde1
- serde_derive serde1
- clapme implicit feature
-
Enables clapme
clapme:
Parse command line arguments by defining a struct (DEPRECATED)
- auto-args implicit feature
-
Enables auto-args ^0.2.4
auto-args:
Parse command line arguments by defining a struct