forked from alloy-rs/chains
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (40 loc) · 1.35 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
[package]
name = "alloy-chains"
description = "Canonical type definitions for EIP-155 chains"
version = "0.1.26"
edition = "2021"
rust-version = "1.70"
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"] }
# 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"]
serde = ["dep:serde"]
rlp = ["dep:alloy-rlp"]
arbitrary = ["dep:arbitrary", "dep:proptest"]
schema = ["std", "dep:schemars"]