Skip to content

Commit

Permalink
build: add mempool node crate
Browse files Browse the repository at this point in the history
commit-id:b98d95e2
  • Loading branch information
Itay-Tsabary-Starkware committed Apr 9, 2024
1 parent 46ea308 commit a1a0555
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["crates/gateway"]
members = ["crates/gateway", "crates/mempool_node"]

[workspace.package]
version = "0.0.0"
Expand Down
12 changes: 12 additions & 0 deletions crates/mempool_node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "mempool_node"
version.workspace = true
edition.workspace = true
repository.workspace = true
license.workspace = true

[lints]
workspace = true

[dependencies]
tokio.workspace = true
5 changes: 5 additions & 0 deletions crates/mempool_node/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#[tokio::main]
async fn main() {
let my_string = "Main function placeholder";
println!("{}", my_string);
}

0 comments on commit a1a0555

Please sign in to comment.