Skip to content

Commit aac27bc

Browse files
authored
chore: re-export and document network-primitives (#1107)
1 parent 4ba5323 commit aac27bc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ This repository contains the following crates:
4444
- [`alloy-genesis`] - Ethereum genesis file definitions
4545
- [`alloy-json-rpc`] - Core data types for JSON-RPC 2.0 clients
4646
- [`alloy-network`] - Network abstraction for RPC types
47+
- [`alloy-network-primitives`] - Primitive types for the network abstraction
4748
- [`alloy-node-bindings`] - Ethereum execution-layer client bindings
4849
- [`alloy-provider`] - Interface with an Ethereum blockchain
4950
- [`alloy-pubsub`] - Ethereum JSON-RPC [publish-subscribe] tower service and type definitions
@@ -77,6 +78,7 @@ This repository contains the following crates:
7778
[`alloy-genesis`]: https://github.com/alloy-rs/alloy/tree/main/crates/genesis
7879
[`alloy-json-rpc`]: https://github.com/alloy-rs/alloy/tree/main/crates/json-rpc
7980
[`alloy-network`]: https://github.com/alloy-rs/alloy/tree/main/crates/network
81+
[`alloy-network-primitives`]: https://github.com/alloy-rs/alloy/tree/main/crates/network-primitives
8082
[`alloy-node-bindings`]: https://github.com/alloy-rs/alloy/tree/main/crates/node-bindings
8183
[`alloy-provider`]: https://github.com/alloy-rs/alloy/tree/main/crates/provider
8284
[`alloy-pubsub`]: https://github.com/alloy-rs/alloy/tree/main/crates/pubsub

crates/network/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mod any;
2424
pub use any::{AnyNetwork, AnyTxType};
2525

2626
pub use alloy_eips::eip2718;
27-
pub use alloy_network_primitives::{ReceiptResponse, TransactionResponse};
27+
pub use alloy_network_primitives::{self as primitives, ReceiptResponse, TransactionResponse};
2828

2929
/// Captures type info for network-specific RPC requests/responses.
3030
///

0 commit comments

Comments
 (0)