fix: lift macros feature to lib level (#567)

This commit is contained in:
Matthias Seitz 2021-11-08 21:08:03 +01:00 committed by GitHub
parent 3d45a842b9
commit dbea856e8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -51,6 +51,7 @@ pub mod abi;
/// Various utilities /// Various utilities
pub mod utils; pub mod utils;
#[cfg(feature = "macros")]
pub mod macros; pub mod macros;
// re-export rand to avoid potential confusion when there's rand version mismatches // re-export rand to avoid potential confusion when there's rand version mismatches

View File

@ -1,4 +1,2 @@
mod ethers_crate; mod ethers_crate;
#[cfg(feature = "macros")]
pub use ethers_crate::{ethers_contract_crate, ethers_core_crate, ethers_providers_crate}; pub use ethers_crate::{ethers_contract_crate, ethers_core_crate, ethers_providers_crate};