-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
34 lines (31 loc) · 1.21 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 = "serde_ipld_dagcbor"
version = "0.6.1"
authors = [
"Pyfisch <[email protected]>",
"Steven Fackler <[email protected]>",
"Volker Mische <[email protected]>"
]
repository = "https://github.com/ipld/serde_ipld_dagcbor"
readme = "README.md"
license = "MIT/Apache-2.0"
description = "IPLD DAG-CBOR support for Serde."
keywords = ["serde", "cbor", "serialization", "no_std"]
categories = ["encoding"]
edition = "2018"
[dependencies]
cbor4ii = { version = "0.2.14", default-features = false, features = ["use_alloc"] }
ipld-core = { version = "0.4.0", default-features = false, features = ["serde"] }
scopeguard = "1.1.0"
serde = { version = "1.0.164", default-features = false, features = ["alloc"] }
[dev-dependencies]
serde_derive = { version = "1.0.164", default-features = false }
serde_bytes = { version = "0.11.9", default-features = false, features = ["alloc"]}
serde-transcode = "1.1.1"
[features]
default = ["codec", "std"]
std = ["cbor4ii/use_std", "ipld-core/std", "serde/std", "serde_bytes/std"]
# Enable the `Codec` trait implementation. It's a separate feature as it needs Rust >= 1.75.
codec = ["ipld-core/codec"]
# Prevent deserializing CIDs as bytes as much as possible.
no-cid-as-bytes = []