-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
97 lines (81 loc) · 2.24 KB
/
Cargo.toml
File metadata and controls
97 lines (81 loc) · 2.24 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
[package]
name = "polytorus"
version = "0.1.0"
edition = "2021"
rust-version = "1.82"
description = "PolyTorus - 4-Layer Modular Blockchain Platform"
authors = ["quantumshiro"]
license = "MIT"
repository = "https://github.com/quantumshiro/polytorus"
keywords = ["blockchain", "quantum-resistant", "modular", "rollups", "post-quantum"]
categories = ["cryptography", "network-programming", "wasm"]
[workspace]
members = [
"crates/traits",
"crates/execution",
"crates/settlement",
"crates/consensus",
"crates/data-availability",
"crates/p2p-network",
]
resolver = "2"
# Workspace package defaults (removed - using main package info instead)
[workspace.dependencies]
# Core shared dependencies
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
async-trait = "0.1"
log = "0.4"
env_logger = "0.11"
# WebRTC P2P networking
webrtc = "0.11"
bytes = "1.5"
# Only essential dependencies for modular layers
sha2 = "0.10"
hex = "0.4"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.16.0", features = ["v4", "serde"] }
sled = "0.34"
bincode = "1.3"
wasmtime = "33.0.0"
wat = "1.0"
clap = "4.0"
rand = "0.8.5"
# Library configuration
[lib]
name = "polytorus"
path = "src/lib.rs"
# Binary configuration
[[bin]]
name = "polytorus"
path = "src/main.rs"
[dependencies]
# Layer crates
traits = { path = "crates/traits" }
execution = { path = "crates/execution" }
settlement = { path = "crates/settlement" }
consensus = { path = "crates/consensus" }
data-availability = { path = "crates/data-availability" }
p2p-network = { path = "crates/p2p-network" }
# External wallet dependency
wallet = { git = "https://github.com/PolyTorus/wallet.git" }
# Core dependencies
anyhow = { workspace = true }
# Force compatible versions for Docker build
base64ct = "=1.6.0"
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
async-trait = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
log = { workspace = true }
env_logger = { workspace = true }
# CLI
clap = { workspace = true }
# Utilities
chrono = { workspace = true }
uuid = { workspace = true }
# Persistence
sled = { workspace = true }
bincode = { workspace = true }