forked from quininer/cbor4ii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (36 loc) · 958 Bytes
/
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
[package]
name = "cbor4ii"
version = "0.3.2"
authors = ["quininer <[email protected]>"]
description = "CBOR: Concise Binary Object Representation"
repository = "https://github.com/quininer/cbor4ii"
categories = [ "encoding", "no-std" ]
keywords = [ "serde", "cbor", "serialization" ]
license = "MIT"
edition = "2018"
[features]
use_std = [ "serde/std", "use_alloc" ]
use_alloc = []
half-f16 = [ "half" ]
serde1 = [ "serde", "use_alloc" ]
[dependencies]
half = { version = "2", default-features = false, optional = true }
serde = { version = "1", default-features = false, optional = true }
[dev-dependencies]
anyhow = "1"
serde = { version = "1", features = [ "derive" ] }
serde_bytes = "0.11"
data-encoding = "2"
serde_cbor = "0.11"
ciborium = "0.2"
criterion = "0.5"
[package.metadata.docs.rs]
all-features = true
[[bench]]
name = "ser"
path = "benches/bench_ser.rs"
harness = false
[[bench]]
name = "de"
path = "benches/bench_de.rs"
harness = false