Cargo Features
[dependencies]
microtype = { version = "0.7.6", default-features = false, features = ["secret", "serde", "test_impls", "deref_impls", "diesel"] }
- default = deref_impls, secret, test_impls
-
These default features are set whenever
microtype
is added without
somewhere in the dependency tree.default-features = false - secret default = secrecy
-
Enables secret of microtype-macro
Affects
microtype::SecretMicrotype
… - serde
-
Enables serde of microtype-macro and secrecy ^0.8
- test_impls default
-
Enables test_impls of microtype-macro
- deref_impls default
-
Enables deref_impls of microtype-macro
- diesel
-
Enables diesel of microtype-macro
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.
- secrecy secret serde?
-
Enables secrecy ^0.8