-
Notifications
You must be signed in to change notification settings - Fork 59
/
Cargo.toml
43 lines (38 loc) · 1.38 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
36
37
38
39
40
41
42
43
[workspace]
members = ["derive", "derive-impl", ".", "codetable"]
resolver = "2"
[package]
name = "multihash"
description = "Implementation of the multihash format"
repository = "https://github.com/multiformats/rust-multihash"
keywords = ["multihash", "ipfs"]
version = "0.19.2"
authors = ["dignifiedquire <[email protected]>", "David Craven <[email protected]>", "Volker Mische <[email protected]>"]
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/multihash/"
edition = "2021"
rust-version = "1.64"
[features]
default = ["std"]
std = ["unsigned-varint/std", "alloc"]
alloc = []
arb = ["dep:quickcheck", "dep:rand", "dep:arbitrary"]
scale-codec = ["dep:parity-scale-codec"]
serde-codec = ["serde"] # Deprecated, don't use.
serde = ["dep:serde"]
[dependencies]
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["derive"], optional = true }
quickcheck = { version = "1.0.3", optional = true }
rand = { version = "0.8.5", optional = true, features = ["small_rng"] }
serde = { version = "1.0.116", optional = true, default-features = false }
unsigned-varint = { version = "0.8.0", default-features = false }
arbitrary = { version = "1.1.0", optional = true }
core2 = { version = "0.4.0", default-features = false }
[dev-dependencies]
hex = "0.4.2"
serde_json = "1.0.58"
quickcheck = "1.0.3"
rand = "0.8.5"
arbitrary = "1.1.0"
serde_test = "1.0.160"