[package]
edition = "2021"
name = "figen"
version = "0.2.0"
build = false
exclude = [
".idea/**",
"docs/plans/**",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strongly typed configuration bindings and registries generated from a declarative schema"
homepage = "https://github.com/rustyflight/figen"
documentation = "https://docs.rs/figen"
readme = "README.md"
keywords = [
"configuration",
"embedded",
"no-std",
"macros",
]
categories = [
"config",
"embedded",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustyflight/figen"
[features]
serde = [
"dep:serde",
"figen-proc-macros/serde",
]
std = [
"figen-proc-macros/std",
"lazy_static",
"serde?/std",
]
[lib]
name = "figen"
path = "src/lib.rs"
[[test]]
name = "array_ref_tests"
path = "tests/array_ref_tests.rs"
[[test]]
name = "config_derive_tests"
path = "tests/config_derive_tests.rs"
[[test]]
name = "config_registry_tests"
path = "tests/config_registry_tests.rs"
[dependencies.figen-proc-macros]
version = "=0.2.0"
[dependencies.heapless]
version = "0.9"
[dependencies.lazy_static]
version = "1.5.0"
optional = true
[dependencies.log]
version = "0.4.27"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1.0.142"
[profile.test]