[dependencies.bitflags]
version = "1"
[dependencies.defmt-macros]
version = "=0.4.0"
[dev-dependencies.rustc_version]
version = "0.4"
[dev-dependencies.trybuild]
version = "1"
[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"
[package]
authors = ["The Knurling-rs developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["embedded", "no-std", "development-tools::debugging", "value-formatting"]
description = "A highly efficient logging framework that targets resource-constrained devices, like microcontrollers"
edition = "2021"
homepage = "https://knurling.ferrous-systems.com/"
keywords = ["knurling", "logging", "logger", "formatting", "formatter"]
license = "MIT OR Apache-2.0"
links = "defmt"
name = "defmt"
readme = "README.md"
repository = "https://github.com/knurling-rs/defmt"
version = "0.3.10"
[package.metadata.docs.rs]
features = ["alloc"]
rustdoc-args = ["--cfg=docsrs"]
targets = ["thumbv6m-none-eabi", "thumbv7em-none-eabihf"]
[[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"