[package]
name          = "esp-metadata"
version       = "0.6.0"
edition       = "2021"
rust-version  = "1.84.0"
description   = "Metadata for Espressif devices"
documentation = "https://docs.espressif.com/projects/rust/esp-metadata/latest/"
repository    = "https://github.com/esp-rs/esp-hal"
license       = "MIT OR Apache-2.0"

[dependencies]
anyhow     = { version = "1.0.95", optional = true }
clap       = { version = "4.5.26", features = ["derive"], optional = true }
basic-toml = { version = "0.1.9", optional = true }
serde      = { version = "1.0.217", features = ["derive"], optional = true }
strum      = { version = "0.26.3", features = ["derive"], optional = true }

[features]
default = ["build"]
build = ["dep:anyhow", "dep:basic-toml", "dep:serde", "dep:strum"]
clap = ["dep:clap"]
