# What a configuration is made of, from files and arguments (`src/lib.rs`): what # continuum's is made with, as a library for other programs to make theirs alike. [package] name = "config" version = "0.1.0" edition = "2024" # Its doc comments are prose, not examples to test. [lib] doctest = false # None of them default: a program names what it uses. [features] # The command line (`arguments`): the options as arguments, `--config`, `--unset`. clap = ["dep:clap"] # What the values set are read into (`layer::read`), and durations and sizes as fields # (`units::duration_option`, …). serde = ["dep:serde"] # Configuration files in TOML; without, in JSON alone. toml = ["dep:toml"] # What a source replaces of an earlier one's, logged. tracing = ["dep:tracing"] [dependencies] anyhow = "1.0" clap = { version = "4.6", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } serde_json = "1.0" toml = { version = "1.1", optional = true } tracing = { version = "0.1", optional = true } [dev-dependencies] serde = { version = "1.0", features = ["derive"] }