forked from multiformats/rust-cid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (30 loc) · 1.4 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
[package]
name = "cid"
version = "0.8.6"
description = "CID in rust"
homepage = "https://github.com/multiformats/rust-cid"
authors = ["Friedel Ziegelmayer <[email protected]>"]
keywords = ["ipld", "ipfs", "cid", "multihash", "multiformats"]
license = "MIT"
readme = "README.md"
edition = "2018"
[features]
default = ["std", "multihash/default"]
std = ["multihash/std", "unsigned-varint/std", "alloc", "multibase/std"]
alloc = ["multibase", "multihash/alloc", "core2/alloc", "serde/alloc"]
arb = ["quickcheck", "rand", "multihash/arb", "multihash/sha2", "arbitrary"]
scale-codec = ["parity-scale-codec", "multihash/scale-codec"]
serde-codec = ["alloc", "serde", "multihash/serde-codec", "serde_bytes"]
[dependencies]
multihash = { version = "0.17.0", default-features = false }
unsigned-varint = { version = "0.7.0", default-features = false }
multibase = { version = "0.9.1", optional = true, default-features = false }
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["derive"], optional = true }
quickcheck = { version = "1.0", optional = true }
rand = { version = "0.7.3", optional = true, features = ["small_rng"]}
serde = { version = "1.0.116", default-features = false, optional = true }
serde_bytes = { version = "0.11.5", optional = true }
arbitrary = { version = "1.1.0", optional = true }
core2 = { version = "0.4", default-features = false }
[dev-dependencies]
serde_json = "1.0.59"