Cargo Features
[dependencies]
svd2rust = { version = "0.35.0", default-features = false, features = ["bin", "json", "yaml"] }
- default = bin, json, yaml
-
These default features are set whenever
svd2rust
is added without
somewhere in the dependency tree.default-features = false - bin default = serde
-
Enables clap, env_logger, and irx-config =3.3.0
Required by the binary
- json default
-
Enables serde_json
- yaml default
-
Enables serde_yaml
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.