From 9848589514f962b55231c588c661008cdf6b84b3 Mon Sep 17 00:00:00 2001 From: Derek Sione <95190961+dereksione@users.noreply.github.com> Date: Thu, 29 Jun 2023 06:20:23 -0400 Subject: [PATCH] feat(primitives): add new crate symphony-primitives (#10) Co-authored-by: dereksione --- Cargo.lock | 4 ++++ Cargo.toml | 4 +++- crates/symphony-primitives/Cargo.toml | 17 +++++++++++++++++ crates/symphony-primitives/src/lib.rs | 0 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 crates/symphony-primitives/Cargo.toml create mode 100644 crates/symphony-primitives/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 06036c4a16af..3edc9e09eb4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6838,6 +6838,10 @@ dependencies = [ "symbolic-common", ] +[[package]] +name = "symphony-primitives" +version = "0.1.0-alpha.1" + [[package]] name = "syn" version = "0.15.44" diff --git a/Cargo.toml b/Cargo.toml index 6b94e8db06f0..65f45d52d14e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ members = [ "crates/transaction-pool", "crates/trie", "testing/ef-tests", + "crates/symphony-primitives" ] default-members = ["bin/reth"] @@ -58,7 +59,7 @@ edition = "2021" rust-version = "1.70" # Remember to update .clippy.toml and README.md license = "MIT OR Apache-2.0" homepage = "https://paradigmxyz.github.io/reth" -repository = "https://github.com/paradigmxyz/reth" +repository = "https://github.com/astriaorg/reth" # Like release, but with full debug symbols. Useful for e.g. `perf`. [profile.debug-fast] @@ -92,6 +93,7 @@ reth-payload-builder = { path = "./crates/payload/builder" } reth-transaction-pool = { path = "./crates/transaction-pool" } reth-tasks = { path = "./crates/tasks" } reth-network-api = { path = "./crates/net/network-api" } +symphony-primitives = { path = "./crates/symphony-primitives"} ## eth ethers-core = { version = "2.0.7", default-features = false } diff --git a/crates/symphony-primitives/Cargo.toml b/crates/symphony-primitives/Cargo.toml new file mode 100644 index 000000000000..825d0aaac026 --- /dev/null +++ b/crates/symphony-primitives/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "symphony-primitives" +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +description = "Symphony specific primitive data types." + +# [dependencies] + +# [dev-dependencies] + +# [features] + +# [[bench]] \ No newline at end of file diff --git a/crates/symphony-primitives/src/lib.rs b/crates/symphony-primitives/src/lib.rs new file mode 100644 index 000000000000..e69de29bb2d1