forked from jamesmunns/defmt-bbq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (37 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
authors = [
"James Munns <james@onevariable.com>",
"The Knurling-rs developers",
]
categories = ["embedded", "no-std"]
description = "A generic bbqueue based transport for defmt log messages"
edition = "2021"
keywords = [
"knurling",
"defmt",
"defmt-transport"
]
license = "MIT OR Apache-2.0"
name = "defmt-bbq"
readme = "README.md"
repository = "https://github.com/jamesmunns/defmt-bbq"
version = "0.1.0"
[dependencies]
cortex-m = "0.7"
defmt = "0.3"
[dependencies.bbqueue]
version = "0.5.1"
features = ["defmt_0_3"]
[features]
default = [
# NOTE: It is *strongly* recommended to use the rzcobs encoding when
# using this crate. If the buffer is ever filled, then the remaining
# bytes will be discarded, which will corrupt the message stream.
#
# Because rzcobs is delimited by zero bytes, it is possible to recover
# from this corruption, with the loss of a limited number of messages.
# When using the "raw" encoding, you MUST ensure that the buffer is
# never overfilled, as it will NOT be possible to recover from this
# error condition.
"defmt/encoding-rzcobs"
]