-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (67 loc) · 1.79 KB
/
Copy pathCargo.toml
File metadata and controls
72 lines (67 loc) · 1.79 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
[workspace]
resolver = "3"
members = [
"crates/ledger-format",
"crates/ledger-format/fuzz",
"crates/ledger-journal",
"crates/ledger-sim",
"crates/ledger-explorer",
"crates/ledger-flow",
"crates/ledger-lint",
"crates/ledger-cli",
"crates/wasm-guest",
"crates/ledger-faultspec",
"crates/ldgr-rt",
"crates/ledger-worker",
"crates/ledger-adapters",
"crates/rt-server",
"xtask",
]
default-members = ["crates/ledger-cli"]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
rust-version = "1.90"
repository = "https://github.com/ledger/ledger"
[workspace.dependencies]
blake3 = "1.8"
rpds = { version = "1.2", default-features = false }
rand_chacha = "0.10"
rand_core = "0.10"
proptest = "1"
criterion = "0.8"
zstd = "0.13"
walkdir = "2"
thiserror = "2"
clap = { version = "4.6", features = ["derive"] }
clap_complete = "4.6"
clap-verbosity-flag = "3"
wasmtime = { version = "48", default-features = false, features = [
"cranelift",
"runtime",
"rr",
] }
wasmtime-wasi = { version = "48", default-features = false, features = [
"p1",
"p2",
] }
futures = "0.3"
tokio = { version = "1", features = ["io-util", "time"] }
getrandom = { version = "0.4", features = ["sys_rng"] }
libc = "0.2"
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "deny"
missing_abi = "warn"
[workspace.lints.clippy]
# 08-engineering section 5.1 rule 5: fail the build on unchecked panics in
# library code. Test code carries file-scoped or module-scoped allows.
unwrap_used = "deny"
expect_used = "deny"
redundant_clone = "warn"
needless_collect = "warn"
# CI runners hit linker SIGBUS/OOM linking wasmtime-laden debug test
# binaries; line tables keep backtraces useful at a fraction of the size.
# Placed after all table sections so it is read as a profile, not keys.
[profile.dev]
debug = "line-tables-only"