-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (69 loc) · 1.63 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (69 loc) · 1.63 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
[workspace]
resolver = "2"
members = [
"crates/mbongo-core",
"crates/mbongo-storage",
"crates/mbongo-consensus",
"crates/mbongo-verification",
"crates/mbongo-compute",
"crates/mbongo-network",
"crates/mbongo-runtime",
"crates/mbongo-api",
"crates/mbongo-wallet",
"crates/mbongo-node",
]
[workspace.package]
version = "0.1.0"
authors = ["Mbongo Chain Contributors"]
edition = "2021"
rust-version = "1.75"
license = "Apache-2.0"
repository = "https://github.com/mbongo-chain/mbongo-chain"
homepage = "https://mbongochain.com"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Cryptography
ed25519-dalek = "2.1"
blake3 = "1.5"
sha2 = "0.10"
# Networking
libp2p = { version = "0.53", features = ["tcp", "noise", "yamux", "gossipsub", "kad", "mdns", "identify", "ping", "request-response", "tokio", "macros"] }
# Storage
rocksdb = "0.22"
# WASM runtime
wasmtime = "16.0"
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Logging
log = "0.4"
env_logger = "0.11"
# Testing
criterion = "0.5"
# CLI
clap = { version = "4.4", features = ["derive"] }
# HTTP/REST
axum = "0.7"
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }
# Async helpers
futures = "0.3"
# HTTP client
reqwest = { version = "0.12", features = ["json"] }
# Utilities
hex = "0.4"
bs58 = "0.5"
lazy_static = "1.4"
parity-scale-codec = { version = "3.6", features = ["derive"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
[profile.dev]
opt-level = 0
[profile.test]
opt-level = 0