Cargo Features
[dependencies]
blockz_derive = { version = "0.2.2", default-features = false, features = ["singleton", "configuration", "no_absolute_paths", "env_configuration"] }
- default = configuration, singleton
-
These default features are set whenever
blockz_derive
is added without
somewhere in the dependency tree.default-features = false - singleton default = convert_case
-
Enable #[derive(Singleton)].
Affects
blockz_derive::derive_singleton
,blockz_derive::singleton_fn
… - configuration default env_configuration?
-
Enable #[derive(Configuration)].
Affects
blockz_derive::derive_configuration
… - no_absolute_paths
-
This feature makes blockz_derive not try to use paths starting with root(::examle::path).
- env_configuration = configuration
-
Features
Enables deriving env configurations.
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.
- convert_case singleton
-
Enables convert_case ^0.4