2022-11-03 23:36:14 +00:00
|
|
|
[package]
|
|
|
|
name = "helios"
|
2023-01-31 02:38:46 +00:00
|
|
|
version = "0.2.0"
|
2022-11-03 23:36:14 +00:00
|
|
|
edition = "2021"
|
2022-12-11 19:42:52 +00:00
|
|
|
autobenches = false
|
2023-03-13 22:12:44 +00:00
|
|
|
exclude = [
|
|
|
|
"benches"
|
|
|
|
]
|
2022-11-03 23:36:14 +00:00
|
|
|
|
2022-08-29 17:31:17 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"cli",
|
|
|
|
"client",
|
|
|
|
"common",
|
2022-08-29 20:54:58 +00:00
|
|
|
"config",
|
2022-08-29 17:31:17 +00:00
|
|
|
"consensus",
|
|
|
|
"execution",
|
2023-02-09 19:32:17 +00:00
|
|
|
"helios-ts",
|
2022-08-29 17:31:17 +00:00
|
|
|
]
|
2022-09-06 17:57:47 +00:00
|
|
|
|
2023-03-13 22:12:44 +00:00
|
|
|
[profile.bench]
|
|
|
|
debug = true
|
|
|
|
|
2022-11-03 23:36:14 +00:00
|
|
|
[dependencies]
|
|
|
|
client = { path = "./client" }
|
|
|
|
config = { path = "./config" }
|
|
|
|
common = { path = "./common" }
|
|
|
|
consensus = { path = "./consensus" }
|
|
|
|
execution = { path = "./execution" }
|
2023-03-11 06:58:42 +00:00
|
|
|
serde = { version = "1.0.154", features = ["derive"] }
|
2022-11-03 23:36:14 +00:00
|
|
|
|
2023-01-31 02:38:46 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2022-12-02 23:41:50 +00:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
eyre = "0.6.8"
|
2023-03-11 06:58:42 +00:00
|
|
|
dirs = "4.0.0"
|
|
|
|
ethers = { version = "1.0.2", features = [ "abigen" ] }
|
2022-12-04 20:28:44 +00:00
|
|
|
env_logger = "0.9.0"
|
|
|
|
log = "0.4.17"
|
2023-03-11 06:58:42 +00:00
|
|
|
tracing-test = "0.2.4"
|
2022-12-11 19:42:52 +00:00
|
|
|
criterion = { version = "0.4", features = [ "async_tokio", "plotters" ]}
|
2023-03-11 06:58:42 +00:00
|
|
|
plotters = "0.3.4"
|
|
|
|
tempfile = "3.4.0"
|
2022-12-11 19:42:52 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
|
2022-12-24 02:14:21 +00:00
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
opt-level = "z"
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
|
|
|
|
2022-12-11 19:42:52 +00:00
|
|
|
######################################
|
|
|
|
# Examples
|
|
|
|
######################################
|
2022-12-02 23:41:50 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "checkpoints"
|
|
|
|
path = "examples/checkpoints.rs"
|
|
|
|
|
2022-12-04 20:28:44 +00:00
|
|
|
[[example]]
|
2023-01-19 02:45:29 +00:00
|
|
|
name = "basic"
|
|
|
|
path = "examples/basic.rs"
|
2022-12-04 20:28:44 +00:00
|
|
|
|
2022-12-02 23:41:50 +00:00
|
|
|
[[example]]
|
|
|
|
name = "client"
|
|
|
|
path = "examples/client.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "config"
|
|
|
|
path = "examples/config.rs"
|
|
|
|
|
2023-03-11 06:58:42 +00:00
|
|
|
[[example]]
|
|
|
|
name = "call"
|
|
|
|
path = "examples/call.rs"
|
|
|
|
|
2022-12-11 19:42:52 +00:00
|
|
|
######################################
|
|
|
|
# Benchmarks
|
|
|
|
######################################
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "file_db"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "get_balance"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "get_code"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "sync"
|
|
|
|
harness = false
|