[package]
name = "nishikaze"
version = "0.3.2"
authors = ["mrbya <v.toth.svk2@gmail.com>"]
edition = "2024"
rust-version = "1.85.0"
description = "Zephyr build system companion."
# documentation = ""
homepage = "https://gitlab.com/byacrates/nishikaze"
repository = "https://gitlab.com/byacrates/nishikaze"
license = "MIT OR Apache-2.0"
keywords = ["nishikaze", "kaze", "west", "zephyr-os", "zephyr"]
categories = ["development-tools::build-utils", "embedded"]

publish = true

[[bin]]
name = "kaze"
path = "src/main.rs"

[features]
default = ["spinners"]
full = []
spinners = ["dep:spinners"]

[dependencies]
serde = { version = "1", default-features = false, features = ["serde_derive"] }
clap = { version = "4", features = ["derive"] }
toml = { version = "1.0.3", features = ["preserve_order"] }
indexmap = { version = "2.11.4", features = ["serde"] }
serde_yaml = "0.9.34"
termcolor = "1.4.1"
spinners = { version = "4.1.1", optional = true }

[dev-dependencies]
criterion = "0.8"
pretty_assertions = "1"

[package.metadata.cargo-udeps.ignore]
development = ["criterion", "pretty_assertions"]

[package.metadata.playground]
features = ["full"]

[profile.release]
codegen-units = 1
incremental = false

[profile.bench]
codegen-units = 1
incremental = false

[lints.clippy]
multiple_crate_versions = "allow"

[[bench]]
name = "benches"
harness = false
required-features = ["full"]
