-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (66 loc) · 1.73 KB
/
Cargo.toml
File metadata and controls
70 lines (66 loc) · 1.73 KB
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
[package]
name = "embedded-msgpack"
description = "MessagePack serialization implementation for Rust optimized for embedded/no_std environments"
version = "0.4.1"
repository = "https://github.com/Sympatron/embedded-msgpack"
documentation = "https://docs.rs/embedded-msgpack"
readme = "./README.md"
license = "MIT OR Apache-2.0"
authors = ["Karsten Große"]
keywords = ["no_std", "msgpack", "messagepack", "serde"]
categories = ["no-std", "embedded"]
edition = "2018"
resolver = "2"
[package.metadata.docs.rs]
features = ["compliant"]
[dependencies]
zerocopy = { version = "0.8", default-features = false }
serde = { version = "1", default-features = false, optional = true }
serde_bytes = { version = "0.11", default-features = false, optional = true }
pastey = "0.1"
heapless = { version = "0.9", default-features = false, optional = true }
[dev-dependencies]
serde_repr = { version = "0.1", default-features = false }
serde_json = { version = "1", default-features = false, features = ["std"] }
serde = { version = "1", features = ["derive"] }
[features]
default = ["compliant", "serde", "serde_bytes"]
std = ["serde_bytes/std", "serde/std", "derive-debug"]
alloc = ["serde/alloc", "serde_bytes/alloc"]
u64 = []
i64 = []
f32 = []
f64 = []
bin16 = []
bin32 = ["bin16"]
map16 = []
map32 = ["map16"]
array16 = []
array32 = ["array16"]
str16 = []
str32 = ["str16"]
ext = []
fixext = ["ext"]
ext8 = ["ext"]
ext16 = ["ext"]
ext32 = ["ext"]
timestamp = ["ext", "fixext"]
timestamp96 = ["timestamp", "ext8"]
compliant = [
"i64",
"u64",
"f32",
"f64",
"bin32",
"map32",
"array32",
"str32",
"fixext",
"ext8",
"ext16",
"ext32",
"timestamp",
"timestamp96",
]
"custom-error-messages" = ["heapless"]
"derive-debug" = []