-
Notifications
You must be signed in to change notification settings - Fork 20
/
Cargo.toml
75 lines (70 loc) · 2 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "bundlr-sdk"
description = "Bundlr Network Rust sdk"
homepage = "https://bundlr.network"
version = "0.5.0"
edition = "2021"
repository = "https://github.com/Bundlr-Network/rust-sdk"
readme = "README.md"
license = "Apache-2.0"
[dependencies]
anyhow = "1.0.52"
async-recursion = "0.3.2"
async-stream = "0.3.2"
async-trait = "0.1.57"
avro-rs = "0.13.0"
arweave-rs = { version = "0.2.0", optional = true }
bs58 = "0.4.0"
bytes = "1.1.0"
clap = { version = "4.4.4", features = ["derive", "env"], optional = true }
data-encoding = "2.3.2"
derive_builder = "0.10.2"
derive_more = "0.99.17"
ed25519-dalek = { version = "1.0.1", optional = true }
futures = "0.3.19"
indexmap = "1.9.3"
lazy_static = "1.4.0"
logos = "0.13.0"
mime_guess = "2.0.4"
num = "0.4"
num-derive = "0.3.3"
num-traits = "0.2.14"
pipe = "0.4.0"
primitive-types = "0.11.1"
rand = "0.8.5"
regex = "1.8.1"
reqwest = { version = "0.11.20", default-features = false, features = ["rustls-tls", "json"] }
ring = "0.16.20"
rustc-hex = "2.1.0"
secp256k1 = { version = "0.22.1", optional = true, features = [ "recovery" ] }
serde = "1.0.132"
serde_json = "1.0.73"
sha2 = "0.10.2"
strum = { version = "0.24", features = ["derive"] }
strum_macros = "0.24"
thiserror = "1.0.30"
tokio = { version = "1.14.0", features = [ "fs" ]}
tokio-util = "0.6.9"
validator = { version = "0.16", features = ["derive"] }
web3 = { version = "0.19.0", optional = true, default-features = false, features = ["http-rustls-tls", "signing"]}
[dev-dependencies]
tokio-test = "0.4.2"
httpmock = "0.6"
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["user-hooks"]
[features]
default = ["solana", "ethereum", "erc20", "cosmos", "arweave", "algorand", "aptos"]
arweave = ["arweave-rs"]
cosmos = ["secp256k1"]
erc20 = ["secp256k1", "web3"]
ethereum = ["secp256k1", "web3"]
solana = ["ed25519-dalek"]
algorand = ["ed25519-dalek"]
aptos = ["ed25519-dalek"]
build-binary = ["clap"]
[[bin]]
name = "cli"
path = "src/client/bin/cli.rs"
required-features = ["build-binary"]