| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "defmt" |
| 15 |
version = "1.1.1" |
| 16 |
authors = ["The Knurling-rs developers"] |
| 17 |
build = "build.rs" |
| 18 |
links = "defmt" |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "A highly efficient logging framework that targets resource-constrained devices, like microcontrollers" |
| 25 |
homepage = "https://knurling.ferrous-systems.com/" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"knurling", |
| 29 |
"logging", |
| 30 |
"logger", |
| 31 |
"formatting", |
| 32 |
"formatter", |
| 33 |
] |
| 34 |
categories = [ |
| 35 |
"embedded", |
| 36 |
"no-std", |
| 37 |
"development-tools::debugging", |
| 38 |
"value-formatting", |
| 39 |
] |
| 40 |
license = "MIT OR Apache-2.0" |
| 41 |
repository = "https://github.com/knurling-rs/defmt" |
| 42 |
|
| 43 |
[package.metadata.docs.rs] |
| 44 |
features = ["alloc"] |
| 45 |
rustdoc-args = ["--cfg=docsrs"] |
| 46 |
targets = [ |
| 47 |
"thumbv6m-none-eabi", |
| 48 |
"thumbv7em-none-eabihf", |
| 49 |
] |
| 50 |
|
| 51 |
[features] |
| 52 |
alloc = [] |
| 53 |
avoid-default-panic = [] |
| 54 |
encoding-raw = [] |
| 55 |
encoding-rzcobs = [] |
| 56 |
ip_in_core = [] |
| 57 |
unstable-test = ["defmt-macros/unstable-test"] |
| 58 |
|
| 59 |
[lib] |
| 60 |
name = "defmt" |
| 61 |
path = "src/lib.rs" |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "basic_usage" |
| 65 |
path = "tests/basic_usage.rs" |
| 66 |
|
| 67 |
[[test]] |
| 68 |
name = "derive-bounds" |
| 69 |
path = "tests/derive-bounds.rs" |
| 70 |
|
| 71 |
[[test]] |
| 72 |
name = "encode" |
| 73 |
path = "tests/encode.rs" |
| 74 |
|
| 75 |
[[test]] |
| 76 |
name = "ui" |
| 77 |
path = "tests/ui.rs" |
| 78 |
|
| 79 |
[[test]] |
| 80 |
name = "ui_logs_off" |
| 81 |
path = "tests/ui_logs_off.rs" |
| 82 |
|
| 83 |
[dependencies.bitflags] |
| 84 |
version = "1" |
| 85 |
|
| 86 |
[dependencies.defmt-macros] |
| 87 |
version = "=1.1.1" |
| 88 |
|
| 89 |
[dev-dependencies.rustc_version] |
| 90 |
version = "0.4" |
| 91 |
|
| 92 |
[dev-dependencies.trybuild] |
| 93 |
version = "1" |