Skip to content

Commit 1dc8366

Browse files
supernovahssupernovahs
andauthored
add common crate to eigensdk crate (#213)
Co-authored-by: supernovahs <supernovahs@proton.me>
1 parent 22a7f36 commit 1dc8366

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cargo add eigensdk --features full
2424
- [eigen-cli](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/eigen-cli) - ECDSA, BLS keystore cli
2525
- [eigen-nodeapi](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/nodeapi) - NodeApi implementation for EigenLayer.
2626
- [eigen-logging](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/logging) - Logging utilities
27+
- [eigen-common](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/common) - Common utilities like provider and signer getters.
2728

2829
## Examples
2930

crates/eigensdk/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ eigen-testing-utils = { workspace = true, optional = true }
2626
eigen-types = { workspace = true, optional = true }
2727
eigen-utils = { workspace = true, optional = true }
2828
eigen-nodeapi = { workspace = true, optional = true }
29+
eigen-common = {workspace = true, optional = true}
2930

3031

3132
# Feature configurations
@@ -87,3 +88,6 @@ signer = ["dep:eigen-signer"]
8788

8889
# types
8990
types = ["dep:eigen-types"]
91+
92+
#common utilities
93+
common = ["dep:eigen-common"]

crates/eigensdk/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cargo add eigensdk --features full
2424
- [eigen-cli](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/eigen-cli) - ECDSA, BLS keystore cli
2525
- [eigen-nodeapi](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/nodeapi) - NodeApi implementation for EigenLayer.
2626
- [eigen-logging](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/logging) - Logging utilities
27+
- [eigen-common](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/common) - Common utilities like provider and signer getters.
2728

2829
## Examples
2930

crates/eigensdk/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,9 @@ pub use eigen_metrics_collectors_economic as metrics_collectors_economic;
8585
#[cfg(feature = "metrics-collectors-rpc-calls")]
8686
#[doc(inline)]
8787
pub use eigen_metrics_collectors_rpc_calls as metrics_collectors_rpc_calls;
88+
89+
/* ------------------------------------ Common Utilities Re-exports -------------------------- */
90+
91+
#[doc(inline)]
92+
#[cfg(feature = "common")]
93+
pub use eigen_common as common;

0 commit comments

Comments
 (0)