[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"

[features]
## Enable the generation and parsing of a config
build = ["dep:serde","dep:serde_json"]
