[package]
edition = "2021"
name = "defmt"
version = "1.1.0"
authors = ["The Knurling-rs developers"]
build = "build.rs"
links = "defmt"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A highly efficient logging framework that targets resource-constrained devices, like microcontrollers"
homepage = "https://knurling.ferrous-systems.com/"
readme = "README.md"
keywords = [
"knurling",
"logging",
"logger",
"formatting",
"formatter",
]
categories = [
"embedded",
"no-std",
"development-tools::debugging",
"value-formatting",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/knurling-rs/defmt"
[package.metadata.docs.rs]
features = ["alloc"]
rustdoc-args = ["--cfg=docsrs"]
targets = [
"thumbv6m-none-eabi",
"thumbv7em-none-eabihf",
]
[features]
alloc = []
avoid-default-panic = []
encoding-raw = []
encoding-rzcobs = []
ip_in_core = []
unstable-test = ["defmt-macros/unstable-test"]
[lib]
name = "defmt"
path = "src/lib.rs"
[[test]]
name = "basic_usage"
path = "tests/basic_usage.rs"
[[test]]
name = "derive-bounds"
path = "tests/derive-bounds.rs"
[[test]]
name = "encode"
path = "tests/encode.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "ui_logs_off"
path = "tests/ui_logs_off.rs"
[dependencies.bitflags]
version = "1"
[dependencies.defmt-macros]
version = "=1.1.0"
[dev-dependencies.rustc_version]
version = "0.4"
[dev-dependencies.trybuild]
version = "1"