-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
26 lines (22 loc) · 780 Bytes
/
Copy pathCargo.toml
File metadata and controls
26 lines (22 loc) · 780 Bytes
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
[package]
name = "simplex-rs"
version = "0.1.0"
edition = "2024"
description = "A Rust implementation of the Simplex BFT consensus protocol"
license = "MIT"
repository = "https://github.com/your-org/simplex-rs"
readme = "README.md"
[dependencies]
serde = { version = "1", features = ["derive"] }
thiserror = "2"
bincode = "1"
# Cryptographic primitives (abstracted — consumers plug their own)
# We re-export common traits; actual impls live behind feature flags or in downstream crates.
sha2 = { version = "0.10", optional = true }
ed25519-dalek = { version = "2", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
[features]
default = []
# Enable when you want the bundled crypto implementations
bundled-crypto = ["sha2", "ed25519-dalek"]