-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (42 loc) · 1.2 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
[workspace]
members = [".", "derive"]
[package]
name = "cbor-data"
version = "0.8.17"
authors = ["Roland Kuhn <[email protected]>"]
edition = "2018"
description = "A library for using CBOR as in-memory representation for working with dynamically shaped data"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/cbor_data"
homepage = "https://crates.io/crates/cbor-data"
repository = "https://github.com/Actyx/cbor-data"
[features]
rfc3339 = ["chrono"]
derive = ["dep:cbor-data-derive"]
[dependencies]
base64 = "0.13.0"
chrono = { version = "0.4.19", optional = true }
half = "1.6.0"
libipld14 = { package = "libipld", version = "0.14", default-features = false, features = [
"dag-cbor",
], optional = true }
smallvec = { version = "1.6.1", features = ["const_generics", "write"] }
cbor-data-derive = { version = "=0.8.15", path = "derive", optional = true }
[dev-dependencies]
criterion = "0.3"
maplit = "1"
pretty_assertions = "1.0.0"
rand = "0.8"
serde = "1"
serde_cbor = "0.11.1"
serde_json = "1"
[lib]
crate-type = ["rlib"]
[profile.release]
debug = false
[profile.bench]
# setting to true may improve performance by 20% but more than doubles compile time
lto = false
[[bench]]
name = "bench"
harness = false