forked from jamesmunns/postcard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (64 loc) · 1.44 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "postcard"
version = "1.0.7"
authors = ["James Munns <[email protected]>"]
edition = "2018"
readme = "README.md"
repository = "https://github.com/jamesmunns/postcard"
description = "A no_std + serde compatible message library for Rust"
license = "MIT OR Apache-2.0"
categories = [
"embedded",
"no-std",
]
keywords = [
"serde",
"cobs",
"framing",
]
documentation = "https://docs.rs/postcard/"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
[dependencies]
[dependencies.const_format]
version = "0.2.24"
optional = true
[dependencies.heapless]
version = "0.7.0"
default-features = false
features = ["serde"]
optional = true
[dependencies.serde]
version = "1.0.100"
default-features = false
features = ["derive"]
[dependencies.cobs]
version = "0.2.3"
default-features = false
[dependencies.defmt]
version = "0.3.0"
optional = true
[dependencies.postcard-derive]
path = "./postcard-derive"
version = "0.1.1"
optional = true
[dependencies.crc]
version = "3.0.1"
optional = true
[dependencies.paste]
version = "1.0.12"
optional = true
[features]
default = ["heapless-cas"]
use-std = ["serde/std", "alloc"]
heapless-cas = ["heapless", "heapless/cas"]
alloc = ["serde/alloc"]
use-defmt = ["defmt"]
use-crc = ["crc", "paste"]
# Experimental features!
#
# NOT subject to SemVer guarantees!
experimental-derive = ["postcard-derive", "const_format"]
[workspace]
members = ["postcard-derive"]