-
Notifications
You must be signed in to change notification settings - Fork 62
/
Cargo.toml
49 lines (41 loc) · 1.51 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
[package]
name = "alloy-chains"
description = "Canonical type definitions for EIP-155 chains"
version = "0.1.47"
edition = "2021"
rust-version = "1.79"
authors = ["Alloy Contributors"]
license = "MIT OR Apache-2.0"
keywords = ["ethers", "primitives", "ethereum", "revm", "reth"]
categories = ["no-std", "data-structures", "cryptography::cryptocurrencies"]
homepage = "https://github.com/alloy-rs/chains"
repository = "https://github.com/alloy-rs/chains"
[dependencies]
num_enum = { version = "0.7", default-features = false }
strum = { version = "0.26", default-features = false, features = ["derive"] }
alloy-primitives = { version = "0.8", default-features = false }
# serde
serde = { version = "1.0", default-features = false, features = [
"derive",
"alloc",
], optional = true }
# rlp
alloy-rlp = { version = "0.3", default-features = false, features = [
"derive",
], optional = true }
# arbitrary
arbitrary = { version = "1.3", default-features = false, optional = true }
proptest = { version = "1.5", default-features = false, features = [
"alloc",
], optional = true }
# schema
schemars = { version = "0.8", optional = true }
[dev-dependencies]
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
[features]
default = ["std"]
std = ["strum/std", "serde?/std", "alloy-primitives/std"]
serde = ["dep:serde", "alloy-primitives/serde"]
rlp = ["dep:alloy-rlp", "alloy-primitives/rlp"]
arbitrary = ["dep:arbitrary", "dep:proptest", "alloy-primitives/arbitrary"]
schema = ["std", "dep:schemars"]