esp-hal/esp-config/Cargo.toml
Dániel Buga 2aac175f77
Refactor esp-config (#3362)
* Extract value and validator modules

* Clean up

* Replace tuples with ConfigOption

* Move generate.rs

* Further refactor write_doc_table_line

* Carry around the config option, too

* Move markdown table processing out of random places

* Compare prettified json, use pretty_assertions to diff it

* Work with Vec

* Emit enumerated cfgs in one place
2025-04-11 05:30:58 +00:00

23 lines
685 B
TOML

[package]
name = "esp-config"
version = "0.3.1"
edition = "2021"
rust-version = "1.84.0"
description = "Configure projects using esp-hal and related packages"
documentation = "https://docs.espressif.com/projects/rust/esp-config/latest/"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
[dependencies]
document-features = "0.2.10"
serde = { version = "1.0.197", features = ["derive"], optional = true }
serde_json = { version = "1.0.0", optional = true }
[dev-dependencies]
temp-env = "0.3.6"
pretty_assertions = "1.4.1"
[features]
## Enable the generation and parsing of a config
build = ["dep:serde","dep:serde_json"]