-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (35 loc) · 1.42 KB
/
Cargo.toml
File metadata and controls
38 lines (35 loc) · 1.42 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
[package]
name = "serde_ipld_dagcbor"
version = "0.6.4"
authors = [
"Pyfisch <pyfisch@posteo.org>",
"Steven Fackler <sfackler@gmail.com>",
"Volker Mische <volker.mische@gmail.com>"
]
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.2", default-features = false, features = ["serde"] }
scopeguard = { version = "1.1.0", default-features = false }
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"
const-hex = "1.14.0"
serde_tuple = "1.1.0"
# We need the RC feature to test a trait edge-case.
serde = { version = "1.0.164", default-features = false, features = ["rc"] }
[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 = []