-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathCargo.toml
More file actions
110 lines (100 loc) · 3.01 KB
/
Copy pathCargo.toml
File metadata and controls
110 lines (100 loc) · 3.01 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[package]
name = "starforge"
version = "0.1.0"
edition = "2021"
description = "A developer productivity CLI for Stellar and Soroban workflows"
license = "MIT"
repository = "https://github.com/YOUR_USERNAME/starforge"
keywords = ["stellar", "soroban", "blockchain", "cli", "web3"]
[[bin]]
name = "starforge"
path = "src/main.rs"
[lib]
name = "starforge"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
# Package-wide lint policy. These lints are intentionally relaxed for the crate
# (including integration tests, which use lightweight mock structs and helpers).
# Centralizing them here keeps `cargo clippy --all-targets -- -D warnings` green.
[lints.rust]
dead_code = "allow"
unused_imports = "allow"
unused_variables = "allow"
[lints.clippy]
needless_range_loop = "allow"
redundant_closure = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_lazy_evaluations = "allow"
items_after_test_module = "allow"
needless_borrow = "allow"
needless_borrows_for_generic_args = "allow"
empty_line_after_doc_comments = "allow"
expect_fun_call = "allow"
useless_vec = "allow"
single_match = "allow"
[dependencies]
clap = { version = "=4.4.18", features = ["derive", "color"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "=0.8.8"
semver = "1.0"
colored = "=2.1.0"
comfy-table = "7.1.1"
dirs = "=5.0.1"
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde"] }
rand = "0.8"
ed25519-dalek = "=2.0.0"
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
tokio = { version = "1", features = ["full"] }
ctrlc = "3.4"
clap_complete = "=4.4.10"
dialoguer = { version = "0.11", features = ["fuzzy-select", "password"] }
aes-gcm = "0.10.3"
argon2 = "0.5.3"
stellar-strkey = "=0.0.9"
stellar-xdr = { version = "22.0.0", features = ["serde"] }
base64 = "0.21"
urlencoding = "2.1"
sha2 = "0.10"
indicatif = "0.17.7"
libloading = "0.8.1"
uuid = { version = "1.6.1", features = ["v4", "serde"] }
hidapi = { version = "2.6.5", optional = true }
trezor-client = { version = "0.1.5", default-features = false, features = ["stellar"], optional = true }
zxcvbn = "=3.1.0"
hex = "0.4"
once_cell = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "fmt"] }
tracing-appender = "0.2"
bip39 = { version = "2", features = ["rand", "std"] }
hmac = "0.12"
rustyline = "14.0.0"
zip = "0.6"
tempfile = "3.8"
wasm-bindgen = "0.2"
rusqlite = { version = "0.32", features = ["bundled"] }
csv = "1.0"
[features]
hardware-wallet = ["dep:hidapi", "dep:trezor-client"]
memory-profiling = []
[dev-dependencies]
criterion = "0.5.1"
tempfile = "3.8"
mockito = "1.2"
wasm-bindgen-test = "0.3"
# Property-based testing
proptest = "1.4"
# Arbitrary trait for structured fuzzing
arbitrary = { version = "1.3", features = ["derive"] }
[[bench]]
name = "benchmarks"
harness = false
[profile.release]
opt-level = 3
lto = true
[build-dependencies]
clap = { version = "4.4.18", features = ["derive"] }
clap_complete = "4.4.10"