Skip to content

Commit

Permalink
chore: re-export and document network-primitives (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Jul 26, 2024
1 parent 4ba5323 commit aac27bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ This repository contains the following crates:
- [`alloy-genesis`] - Ethereum genesis file definitions
- [`alloy-json-rpc`] - Core data types for JSON-RPC 2.0 clients
- [`alloy-network`] - Network abstraction for RPC types
- [`alloy-network-primitives`] - Primitive types for the network abstraction
- [`alloy-node-bindings`] - Ethereum execution-layer client bindings
- [`alloy-provider`] - Interface with an Ethereum blockchain
- [`alloy-pubsub`] - Ethereum JSON-RPC [publish-subscribe] tower service and type definitions
Expand Down Expand Up @@ -77,6 +78,7 @@ This repository contains the following crates:
[`alloy-genesis`]: https://github.com/alloy-rs/alloy/tree/main/crates/genesis
[`alloy-json-rpc`]: https://github.com/alloy-rs/alloy/tree/main/crates/json-rpc
[`alloy-network`]: https://github.com/alloy-rs/alloy/tree/main/crates/network
[`alloy-network-primitives`]: https://github.com/alloy-rs/alloy/tree/main/crates/network-primitives
[`alloy-node-bindings`]: https://github.com/alloy-rs/alloy/tree/main/crates/node-bindings
[`alloy-provider`]: https://github.com/alloy-rs/alloy/tree/main/crates/provider
[`alloy-pubsub`]: https://github.com/alloy-rs/alloy/tree/main/crates/pubsub
Expand Down
2 changes: 1 addition & 1 deletion crates/network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mod any;
pub use any::{AnyNetwork, AnyTxType};

pub use alloy_eips::eip2718;
pub use alloy_network_primitives::{ReceiptResponse, TransactionResponse};
pub use alloy_network_primitives::{self as primitives, ReceiptResponse, TransactionResponse};

/// Captures type info for network-specific RPC requests/responses.
///
Expand Down

0 comments on commit aac27bc

Please sign in to comment.