# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "miniconf" version = "0.18.0" authors = [ "James Irwin ", "Ryan Summers ", "Robert Jördens ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Serialize/deserialize/access reflection for trees" readme = "README.md" keywords = [ "config", "serde", "no_std", "reflection", "graph", ] categories = [ "embedded", "config", "data-structures", "parsing", ] license = "MIT" repository = "https://github.com/quartiq/miniconf" [package.metadata.docs.rs] all-features = true [lib] name = "miniconf" path = "src/lib.rs" [[example]] name = "cli" path = "examples/cli.rs" required-features = [ "json-core", "derive", ] [[example]] name = "common" crate-type = ["lib"] path = "examples/common.rs" required-features = ["derive"] [[example]] name = "menu" path = "examples/menu.rs" required-features = [ "json-core", "derive", "postcard", ] [[example]] name = "scpi" path = "examples/scpi.rs" required-features = [ "json-core", "derive", ] [[test]] name = "arrays" path = "tests/arrays.rs" required-features = [ "json-core", "derive", ] [[test]] name = "basic" path = "tests/basic.rs" required-features = [ "json-core", "derive", ] [[test]] name = "compiletest" path = "tests/compiletest.rs" required-features = ["derive"] [[test]] name = "enum" path = "tests/enum.rs" required-features = [ "json-core", "derive", ] [[test]] name = "flatten" path = "tests/flatten.rs" required-features = [ "json-core", "derive", ] [[test]] name = "generics" path = "tests/generics.rs" required-features = [ "json-core", "derive", ] [[test]] name = "iter" path = "tests/iter.rs" required-features = [ "json-core", "derive", ] [[test]] name = "option" path = "tests/option.rs" required-features = [ "json-core", "derive", ] [[test]] name = "packed" path = "tests/packed.rs" required-features = [ "json-core", "derive", ] [[test]] name = "skipped" path = "tests/skipped.rs" required-features = ["derive"] [[test]] name = "structs" path = "tests/structs.rs" required-features = [ "json-core", "derive", ] [[test]] name = "validate" path = "tests/validate.rs" required-features = [ "json-core", "derive", ] [dependencies.itoa] version = "1.0.4" [dependencies.miniconf_derive] version = "0.18.0" optional = true [dependencies.postcard] version = "1.0.8" optional = true [dependencies.serde] version = "1.0.120" default-features = false [dependencies.serde-json-core] version = "0.6.0" optional = true [dependencies.thiserror] version = "2" default-features = false [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.embedded-io] version = "0.6.1" [dev-dependencies.embedded-io-adapters] version = "0.6.1" features = ["tokio-1"] [dev-dependencies.embedded-io-async] version = "0.6.1" [dev-dependencies.heapless] version = "0.8.0" [dev-dependencies.postcard] version = "1.0.8" features = ["use-std"] [dev-dependencies.serde_json] version = "1.0.133" [dev-dependencies.strum] version = "0.26.3" features = ["derive"] [dev-dependencies.tokio] version = "1.38.0" features = [ "io-std", "rt", "macros", ] [dev-dependencies.trybuild] version = "1.0.99" features = ["diff"] [dev-dependencies.yafnv] version = "3.0.0" [features] alloc = [] default = ["derive"] derive = [ "dep:miniconf_derive", "serde/derive", ] json-core = ["dep:serde-json-core"] postcard = ["dep:postcard"] std = ["alloc"]