Cargo Features

[dependencies]
blockz = { version = "0.2.2", default-features = false, features = ["all", "singleton", "configuration", "no_absolute_paths", "env_configuration"] }
default = configuration, singleton

These default features are set whenever blockz is added without default-features = false somewhere in the dependency tree.

all = configuration, env_configuration, singleton
singleton default all?

Enables the singleton trait and singleton derives.

Enables singleton of blockz_derive

Proc macro crate dependency.

Affects blockz::singleton

configuration default all? env_configuration?

Enables the configuration trait and configuration derives.

Enables configuration of blockz_derive

Affects blockz::configuration

no_absolute_paths

Pass this feature to blockz_derive.

Enables no_absolute_paths of blockz_derive

env_configuration all? = configuration, envy, serde

Features

Enables sourcing configurations from the environment.

Enables env_configuration of blockz_derive

Affects configuration::EnvConfiguration

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.

envy env_configuration?
serde env_configuration?