-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
40 lines (36 loc) · 1.21 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
[package]
name = "xrpl_binary_codec"
description = "Binary serialization for XRPL Protocol objects"
version.workspace = true
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
repository = "https://github.com/gmosx/xrpl-sdk-rust/tree/main/xrpl_binary_codec"
keywords = ["xrpl", "ledger", "api", "protocol"]
[dependencies]
xrpl_types = { path = "../xrpl_types", version = "0.16.7", default-features = false }
serde_json = { workspace = true, default-features = false, features = [
"alloc",
] }
hex = { workspace = true }
sha2 = { workspace = true }
libsecp256k1 = { workspace = true }
bytes = { version = "1.5.0", default-features = false }
# The following dependencies are only used when compiling for `no_std`.
[target.'cfg(not(target_feature = "std"))'.dependencies]
hashbrown = { version = "0.14.2", default-features = false, features = [
"ahash",
] }
spin = { version = "0.9.8", default-features = false, features = ["once"] }
[features]
default = ["std"]
std = ["hex/std", "serde_json/std"]
json = []
[dev-dependencies]
ascii.workspace = true
assert_matches.workspace = true
enumflags2.workspace = true
serde = { workspace = true, default-features = false, features = [
"derive",
"alloc",
] }