forked from near/omni-transaction-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added features and test new bin
- Loading branch information
1 parent
6ef58af
commit e159acd
Showing
4 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#[cfg(feature = "bitcoin")] | ||
pub mod bitcoin; | ||
pub mod constants; | ||
#[cfg(feature = "evm")] | ||
pub mod evm; | ||
#[cfg(feature = "near")] | ||
pub mod near; | ||
|
||
pub mod constants; | ||
pub mod transaction_builder; | ||
pub mod types; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
#[cfg(feature = "bitcoin")] | ||
use crate::bitcoin::bitcoin_transaction_builder::BitcoinTransactionBuilder; | ||
|
||
#[cfg(feature = "evm")] | ||
use crate::evm::evm_transaction_builder::EVMTransactionBuilder; | ||
|
||
#[cfg(feature = "near")] | ||
use crate::near::near_transaction_builder::NearTransactionBuilder; | ||
|
||
#[cfg(feature = "near")] | ||
pub type NEAR = NearTransactionBuilder; | ||
|
||
#[cfg(feature = "evm")] | ||
pub type EVM = EVMTransactionBuilder; | ||
|
||
#[cfg(feature = "bitcoin")] | ||
pub type BITCOIN = BitcoinTransactionBuilder; |
Binary file not shown.