-
Notifications
You must be signed in to change notification settings - Fork 228
/
Copy pathCargo.toml
53 lines (47 loc) · 1.52 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
44
45
46
47
48
49
50
51
52
53
[package]
name = "ethbloom"
version = "0.13.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Ethereum bloom filter"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/ethbloom"
homepage = "https://github.com/paritytech/parity-common"
repository = "https://github.com/paritytech/parity-common"
edition = "2021"
rust-version = "1.56.1"
[dependencies]
tiny-keccak = { version = "2.0", features = ["keccak"] }
crunchy = { version = "0.2.2", default-features = false, features = ["limit_256"] }
fixed-hash = { path = "../fixed-hash", version = "0.8", default-features = false }
impl-serde = { path = "../primitive-types/impls/serde", version = "0.4", default-features = false, optional = true }
impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true }
impl-codec = { version = "0.6.0", path = "../primitive-types/impls/codec", default-features = false, optional = true }
scale-info = { version = ">=1.0, <3", features = ["derive"], default-features = false, optional = true }
[dev-dependencies]
array-bytes = "6.0"
criterion = "0.4.0"
rand = "0.8.0"
[features]
default = [
"std",
"array-bytes",
"rlp",
"serialize",
]
std = [
"crunchy/std",
"fixed-hash/std",
]
arbitrary = ["fixed-hash/arbitrary"]
array-bytes = ["fixed-hash/array-bytes"]
codec = ["impl-codec", "scale-info"]
rlp = ["impl-rlp"]
serialize = ["impl-serde"]
[[bench]]
name = "bloom"
path = "benches/bloom.rs"
harness = false
[[bench]]
name = "unrolling"
path = "benches/unrolling.rs"
harness = false