Skip to content

Commit

Permalink
Feature gate api client export
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Jun 17, 2024
1 parent c5f6c5a commit 9ecf026
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions crates/rpc/rpc-eth-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ pub mod revm_utils;
pub mod transaction;
pub mod utils;

#[cfg(feature = "client")]
pub use api::{
bundle::{
EthBundleApiClient, EthBundleApiServer, EthCallBundleApiClient, EthCallBundleApiServer,
},
filter::{EthFilterApiClient, EthFilterApiServer},
bundle::{EthBundleApiClient, EthCallBundleApiClient},
filter::EthFilterApiClient,
EthApiClient,
};
pub use api::{
bundle::{EthBundleApiServer, EthCallBundleApiServer},
filter::EthFilterApiServer,
pubsub::EthPubSubApiServer,
servers::{
self,
Expand All @@ -39,7 +43,7 @@ pub use api::{
pubsub::EthPubSub,
EthApi,
},
EthApiClient, EthApiServer,
EthApiServer,
};
pub use cache::{
config::EthStateCacheConfig, db::StateCacheDb, multi_consumer::MultiConsumerLruCache,
Expand Down

0 comments on commit 9ecf026

Please sign in to comment.