Skip to content

Commit

Permalink
add common crate to eigensdk crate (#213)
Browse files Browse the repository at this point in the history
Co-authored-by: supernovahs <supernovahs@proton.me>
  • Loading branch information
supernovahs and supernovahs authored Jan 9, 2025
1 parent 22a7f36 commit 1dc8366
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

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

## Examples

Expand Down
4 changes: 4 additions & 0 deletions crates/eigensdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ eigen-testing-utils = { workspace = true, optional = true }
eigen-types = { workspace = true, optional = true }
eigen-utils = { workspace = true, optional = true }
eigen-nodeapi = { workspace = true, optional = true }
eigen-common = {workspace = true, optional = true}


# Feature configurations
Expand Down Expand Up @@ -87,3 +88,6 @@ signer = ["dep:eigen-signer"]

# types
types = ["dep:eigen-types"]

#common utilities
common = ["dep:eigen-common"]
1 change: 1 addition & 0 deletions crates/eigensdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ cargo add eigensdk --features full
- [eigen-cli](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/eigen-cli) - ECDSA, BLS keystore cli
- [eigen-nodeapi](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/nodeapi) - NodeApi implementation for EigenLayer.
- [eigen-logging](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/logging) - Logging utilities
- [eigen-common](https://github.com/Layr-Labs/eigensdk-rs/tree/main/crates/common) - Common utilities like provider and signer getters.

## Examples

Expand Down
6 changes: 6 additions & 0 deletions crates/eigensdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ pub use eigen_metrics_collectors_economic as metrics_collectors_economic;
#[cfg(feature = "metrics-collectors-rpc-calls")]
#[doc(inline)]
pub use eigen_metrics_collectors_rpc_calls as metrics_collectors_rpc_calls;

/* ------------------------------------ Common Utilities Re-exports -------------------------- */

#[doc(inline)]
#[cfg(feature = "common")]
pub use eigen_common as common;

0 comments on commit 1dc8366

Please sign in to comment.