-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (42 loc) · 1.29 KB
/
Cargo.toml
File metadata and controls
45 lines (42 loc) · 1.29 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
[package]
name = "dcbor"
version = "0.25.2"
edition = "2024"
description = "Deterministic CBOR (\"dCBOR\") for Rust."
authors = ["Blockchain Commons"]
repository = "https://github.com/BlockchainCommons/bc-dcbor-rust"
readme = "README.md"
license = "BSD-2-Clause-Patent"
documentation = "https://docs.rs/dcbor"
keywords = [
"encoding",
"cbor",
"binary",
"format",
"serialization",
] # Up to five
categories = [
"data-structures",
"encoding",
"no-std",
] # https://crates.io/category_slugs
[dependencies]
chrono = { version = "^0.4.28", default-features = true }
half = { version = "^2.4.1", default-features = false }
hashbrown = { version = "^0.16.1", optional = true }
hex = { version = "^0.4.3", default-features = true }
num-bigint = { version = "0.4.6", default-features = false, optional = true }
spin = { version = "0.10.0", optional = true }
thiserror = { version = "^2.0", default-features = false, optional = true }
unicode-normalization = { version = "^0.1.22", default-features = false }
paste = "^1.0.12"
[dev-dependencies]
hex-literal = "^1.1.0"
indoc = "^2.0.0"
version-sync = "^0.9.0"
[features]
default = ["std"]
multithreaded = []
no_std = ["hashbrown", "thiserror", "spin"]
num-bigint = ["dep:num-bigint"]
std = ["half/std", "chrono/std", "hex/std", "thiserror/std"]