forked from Crimsonyx412/agcli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (67 loc) · 1.89 KB
/
Cargo.toml
File metadata and controls
79 lines (67 loc) · 1.89 KB
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
76
77
78
79
[package]
name = "agcli"
version = "0.1.0"
edition = "2021"
description = "Rust CLI + SDK for the Bittensor network — staking, transfers, wallets, weights, subnets, and more"
license = "MIT"
repository = "https://github.com/unconst/agcli"
keywords = ["bittensor", "tao", "substrate", "staking", "blockchain"]
categories = ["command-line-utilities", "cryptography::cryptocurrencies"]
[dependencies]
# Substrate / chain interaction
subxt = { version = "0.38", features = ["substrate-compat"] }
sp-core = { version = "34", default-features = false, features = ["std"] }
parity-scale-codec = { version = "3.7", features = ["derive"] }
# Crypto
bip39 = "2"
blake2 = "0.10"
aes-gcm = "0.10"
argon2 = "0.5"
crypto_secretbox = "0.1"
rand = "0.8"
ml-kem = "0.2"
kem = "=0.3.0-pre.0"
chacha20poly1305 = "0.10"
# CLI
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
clap_complete = "4"
comfy-table = "7"
dialoguer = "0.11"
indicatif = "0.17"
# Async
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-util", "net", "time", "sync", "signal"] }
futures = "0.3"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
hex = "0.4"
# HTTP / WebSocket
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-appender = "0.2"
# Utilities
anyhow = "1"
chrono = "0.4"
dirs = "6"
fs2 = "0.4"
moka = { version = "0.12", features = ["future"] }
[build-dependencies]
tokio = { version = "1", features = ["full"] }
subxt-codegen = "0.38"
subxt-metadata = "0.38"
subxt-utils-fetchmetadata = { version = "0.38", features = ["url"] }
parity-scale-codec = "3.7"
[profile.release]
opt-level = "z"
lto = true
strip = true
[features]
default = ["cli"]
cli = []
sdk-only = []
[dev-dependencies]
tempfile = "3.27.0"
proptest = "1.6"