op_alloy/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#![doc = include_str!("../README.md")]
#![doc(
    html_logo_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/alloy.jpg",
    html_favicon_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/favicon.ico"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(any(feature = "full", feature = "std")), no_std)]

#[cfg(feature = "consensus")]
#[doc(inline)]
pub use op_alloy_consensus as consensus;

#[cfg(feature = "genesis")]
#[doc(inline)]
pub use op_alloy_genesis as genesis;

#[cfg(feature = "network")]
#[doc(inline)]
pub use op_alloy_network as network;

#[cfg(feature = "protocol")]
#[doc(inline)]
pub use op_alloy_protocol as protocol;

#[cfg(feature = "registry")]
#[doc(inline)]
pub use op_alloy_registry as registry;

#[cfg(feature = "provider")]
#[doc(inline)]
pub use op_alloy_provider as provider;

#[cfg(feature = "rpc-types")]
#[doc(inline)]
pub use op_alloy_rpc_types as rpc_types;

#[cfg(feature = "rpc-types-engine")]
#[doc(inline)]
pub use op_alloy_rpc_types_engine as rpc_types_engine;

#[cfg(feature = "rpc-jsonrpsee")]
#[doc(inline)]
pub use op_alloy_rpc_jsonrpsee as rpc_jsonrpsee;