-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
34 lines (31 loc) · 1.24 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
[package]
name = "dcbor"
version = "0.16.2"
edition = "2021"
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]
anyhow = { version = "^1.0.0", default-features = false }
chrono = { version = "^0.4.28", default-features = true }
half = { version = "^2.4.1", default-features = false }
hashbrown = { version = "^0.14.3", optional = true }
hex = { version = "^0.4.3", default-features = true }
spin = { version = "0.9.8", optional = true }
thiserror = { version = "^1.0.58", optional = true }
thiserror-no-std = { version = "^2.0.2", optional = true }
unicode-normalization = { version = "^0.1.22", default-features = false }
[dev-dependencies]
hex-literal = "^0.4.1"
indoc = "^2.0.0"
version-sync = "^0.9.0"
[features]
default = ["std"]
multithreaded = []
no_std = ["hashbrown", "thiserror-no-std", "spin"]
std = ["half/std", "chrono/std", "hex/std", "anyhow/std", "thiserror"]