mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-17 05:29:32 +00:00
Merge pull request #1 from vacp2p/Pravdyvy/workspace-init
feat: workspace and approximate depedency tree added
This commit is contained in:
commit
c95ed90c9a
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.gitconfig
|
||||||
|
res/
|
||||||
|
target/
|
||||||
|
deps/
|
||||||
|
data/
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
Cargo.lock
|
||||||
59
Cargo.toml
Normal file
59
Cargo.toml
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
[workspace]
|
||||||
|
resolver = "2"
|
||||||
|
members = [
|
||||||
|
"node_runner",
|
||||||
|
"sequencer_runner",
|
||||||
|
"storage",
|
||||||
|
"accounts",
|
||||||
|
"utxo",
|
||||||
|
"vm",
|
||||||
|
"networking",
|
||||||
|
"consensus",
|
||||||
|
"node_rpc",
|
||||||
|
"sequencer_rpc",
|
||||||
|
"mempool",
|
||||||
|
"zkvm",
|
||||||
|
"node_core",
|
||||||
|
"sequencer_core",
|
||||||
|
]
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
|
anyhow = "1.0"
|
||||||
|
num_cpus = "1.13.1"
|
||||||
|
openssl = { version = "0.10", features = ["vendored"] }
|
||||||
|
openssl-probe = { version = "0.1.2" }
|
||||||
|
serde_json = "1.0.81"
|
||||||
|
|
||||||
|
env_logger = "0.10"
|
||||||
|
log = "0.4"
|
||||||
|
|
||||||
|
rocksdb = { version = "0.21.0", default-features = false, features = ["snappy", "jemalloc"] }
|
||||||
|
|
||||||
|
#ToDo: Add necessary risc0 submodules for zkvm module
|
||||||
|
|
||||||
|
[workspace.dependencies.serde]
|
||||||
|
features = ["derive"]
|
||||||
|
version = "1.0.60"
|
||||||
|
|
||||||
|
[workspace.dependencies.actix-web]
|
||||||
|
default-features = false
|
||||||
|
version = "=4.1.0"
|
||||||
|
|
||||||
|
[workspace.dependencies.clap]
|
||||||
|
features = ["derive", "env"]
|
||||||
|
version = "3.1.6"
|
||||||
|
|
||||||
|
[workspace.dependencies.tokio-retry]
|
||||||
|
version = "0.3.0"
|
||||||
|
|
||||||
|
[workspace.dependencies.reqwest]
|
||||||
|
features = ["json"]
|
||||||
|
version = "0.11.16"
|
||||||
|
|
||||||
|
[workspace.dependencies.tokio]
|
||||||
|
features = ["net", "rt-multi-thread", "sync", "fs"]
|
||||||
|
version = "1.28.2"
|
||||||
|
|
||||||
|
[workspace.dependencies.tracing]
|
||||||
|
features = ["std"]
|
||||||
|
version = "0.1.13"
|
||||||
11
accounts/Cargo.toml
Normal file
11
accounts/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "accounts"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
accounts/src/lib.rs
Normal file
1
accounts/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add accounts module
|
||||||
14
consensus/Cargo.toml
Normal file
14
consensus/Cargo.toml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[package]
|
||||||
|
name = "consensus"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
[dependencies.networking]
|
||||||
|
path = "../networking"
|
||||||
1
consensus/src/lib.rs
Normal file
1
consensus/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add consensus module
|
||||||
11
mempool/Cargo.toml
Normal file
11
mempool/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "mempool"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
mempool/src/lib.rs
Normal file
1
mempool/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add mempool module
|
||||||
11
networking/Cargo.toml
Normal file
11
networking/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "networking"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
networking/src/lib.rs
Normal file
1
networking/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add networking module
|
||||||
11
node_core/Cargo.toml
Normal file
11
node_core/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "node_core"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
node_core/src/lib.rs
Normal file
1
node_core/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add node_core module
|
||||||
37
node_rpc/Cargo.toml
Normal file
37
node_rpc/Cargo.toml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
[package]
|
||||||
|
name = "node_rpc"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
actix-web.workspace = true
|
||||||
|
|
||||||
|
[dependencies.accounts]
|
||||||
|
path = "../accounts"
|
||||||
|
|
||||||
|
[dependencies.consensus]
|
||||||
|
path = "../consensus"
|
||||||
|
|
||||||
|
[dependencies.networking]
|
||||||
|
path = "../networking"
|
||||||
|
|
||||||
|
[dependencies.storage]
|
||||||
|
path = "../storage"
|
||||||
|
|
||||||
|
[dependencies.utxo]
|
||||||
|
path = "../utxo"
|
||||||
|
|
||||||
|
[dependencies.vm]
|
||||||
|
path = "../vm"
|
||||||
|
|
||||||
|
[dependencies.zkvm]
|
||||||
|
path = "../zkvm"
|
||||||
|
|
||||||
|
[dependencies.node_core]
|
||||||
|
path = "../node_core"
|
||||||
1
node_rpc/src/lib.rs
Normal file
1
node_rpc/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add node_rpc module
|
||||||
41
node_runner/Cargo.toml
Normal file
41
node_runner/Cargo.toml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
[package]
|
||||||
|
name = "node_runner"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
actix-web.workspace = true
|
||||||
|
tokio.workspace = true
|
||||||
|
|
||||||
|
[dependencies.accounts]
|
||||||
|
path = "../accounts"
|
||||||
|
|
||||||
|
[dependencies.consensus]
|
||||||
|
path = "../consensus"
|
||||||
|
|
||||||
|
[dependencies.networking]
|
||||||
|
path = "../networking"
|
||||||
|
|
||||||
|
[dependencies.storage]
|
||||||
|
path = "../storage"
|
||||||
|
|
||||||
|
[dependencies.utxo]
|
||||||
|
path = "../utxo"
|
||||||
|
|
||||||
|
[dependencies.vm]
|
||||||
|
path = "../vm"
|
||||||
|
|
||||||
|
[dependencies.zkvm]
|
||||||
|
path = "../zkvm"
|
||||||
|
|
||||||
|
[dependencies.node_rpc]
|
||||||
|
path = "../node_rpc"
|
||||||
|
|
||||||
|
[dependencies.node_core]
|
||||||
|
path = "../node_core"
|
||||||
5
node_runner/src/main.rs
Normal file
5
node_runner/src/main.rs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
//ToDo: Add node_runner module
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
1
rustfmt.toml
Normal file
1
rustfmt.toml
Normal file
@ -0,0 +1 @@
|
|||||||
|
edition = "2021"
|
||||||
11
sequencer_core/Cargo.toml
Normal file
11
sequencer_core/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "sequencer_core"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
sequencer_core/src/lib.rs
Normal file
1
sequencer_core/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add sequencer_core module
|
||||||
25
sequencer_rpc/Cargo.toml
Normal file
25
sequencer_rpc/Cargo.toml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
[package]
|
||||||
|
name = "sequencer_rpc"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
actix-web.workspace = true
|
||||||
|
|
||||||
|
[dependencies.mempool]
|
||||||
|
path = "../mempool"
|
||||||
|
|
||||||
|
[dependencies.consensus]
|
||||||
|
path = "../consensus"
|
||||||
|
|
||||||
|
[dependencies.networking]
|
||||||
|
path = "../networking"
|
||||||
|
|
||||||
|
[dependencies.sequencer_core]
|
||||||
|
path = "../sequencer_core"
|
||||||
1
sequencer_rpc/src/lib.rs
Normal file
1
sequencer_rpc/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add sequencer_rpc module
|
||||||
29
sequencer_runner/Cargo.toml
Normal file
29
sequencer_runner/Cargo.toml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
[package]
|
||||||
|
name = "sequencer_runner"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
actix-web.workspace = true
|
||||||
|
tokio.workspace = true
|
||||||
|
|
||||||
|
[dependencies.mempool]
|
||||||
|
path = "../mempool"
|
||||||
|
|
||||||
|
[dependencies.consensus]
|
||||||
|
path = "../consensus"
|
||||||
|
|
||||||
|
[dependencies.networking]
|
||||||
|
path = "../networking"
|
||||||
|
|
||||||
|
[dependencies.sequencer_rpc]
|
||||||
|
path = "../sequencer_rpc"
|
||||||
|
|
||||||
|
[dependencies.sequencer_core]
|
||||||
|
path = "../sequencer_core"
|
||||||
5
sequencer_runner/src/main.rs
Normal file
5
sequencer_runner/src/main.rs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
//ToDo: Add sequencer_runner module
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
13
storage/Cargo.toml
Normal file
13
storage/Cargo.toml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[package]
|
||||||
|
name = "storage"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
rocksdb.workspace = true
|
||||||
1
storage/src/lib.rs
Normal file
1
storage/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add storage module
|
||||||
11
utxo/Cargo.toml
Normal file
11
utxo/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "utxo"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
utxo/src/lib.rs
Normal file
1
utxo/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add utxo module
|
||||||
11
vm/Cargo.toml
Normal file
11
vm/Cargo.toml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[package]
|
||||||
|
name = "vm"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
1
vm/src/lib.rs
Normal file
1
vm/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add vm module
|
||||||
16
zkvm/Cargo.toml
Normal file
16
zkvm/Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[package]
|
||||||
|
name = "zkvm"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow.workspace = true
|
||||||
|
serde_json.workspace = true
|
||||||
|
env_logger.workspace = true
|
||||||
|
log.workspace = true
|
||||||
|
serde.workspace = true
|
||||||
|
|
||||||
|
#ToDo: Add necessary risc0 dependencies
|
||||||
|
|
||||||
|
[dependencies.vm]
|
||||||
|
path = "../vm"
|
||||||
1
zkvm/src/lib.rs
Normal file
1
zkvm/src/lib.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
//ToDo: Add zkvm module
|
||||||
Loading…
x
Reference in New Issue
Block a user