-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
39 lines (35 loc) · 1.07 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
[package]
name = "nmt-rs"
version = "0.2.3"
edition = "2021"
description = "A namespaced merkle tree compatible with Celestia"
license = "MIT OR Apache-2.0"
authors = ["Sovereign Labs <[email protected]>"]
homepage = "https://www.sovereign.xyz"
repository = "https://github.com/sovereign-labs/nmt-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sha2 = { version = "0.10.6", default-features = false }
bytes = { version = "1", default-features = false }
serde = { version = "1", default-features = false, optional = true, features = ["derive"] }
borsh = { version = "1", default-features = false, features = ["derive"], optional = true }
[dev-dependencies]
nmt-rs = { path = ".", features = ["borsh", "serde"] }
borsh = { version = "1" }
serde_json = "1.0.96"
postcard = { version = "1.0.4", features = ["use-std"] }
tendermint = { version = "0.35.0" }
[features]
default = ["std"]
borsh = ["dep:borsh"]
serde = [
"dep:serde",
"bytes/serde",
"nmt-rs/serde"
]
std = [
"borsh?/std",
"serde?/std",
"bytes/std",
"sha2/std"
]