Cargo Features

[dependencies]
config-it = { version = "0.9.2", default-features = false, features = ["full", "config", "config-derive", "crypt-machine-id", "crypt", "indexmap", "jsonschema", "arc-swap"] }
default = arc-swap, config-derive

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

full = config-derive, crypt-machine-id, indexmap, jsonschema
config config-derive indexmap? jsonschema?

Enables bitfield, custom_debug_derive, derive_setters, parking_lot, smallvec, thiserror, and tracing

thiserror:

------------------------------------------------------------------------------------------------
CONFIG ------------------------------------------------------------------------------------------------

Affects config-it::config

config-derive default full? = config

Enables impls, config-it-macros, and memoffset

crypt-machine-id full? = crypt

Enables machine-uid

crypt crypt-machine-id?

Enables aes-gcm, base64, and sha2

indexmap full? = config

Enables indexmap

jsonschema full? = config

Enables schemars, jsonschema of config-it-macros

Affects meta::Metadata.schema

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.

arc-swap default

Affects storage::atomic