mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Make ethereum-schnorr-contract no-std and no-alloc eligible
This commit is contained in:
@@ -46,6 +46,8 @@ frost-schnorrkel = { path = "../../crypto/schnorrkel", default-features = false,
|
||||
|
||||
bitcoin-serai = { path = "../../networks/bitcoin", default-features = false, features = ["hazmat"], optional = true }
|
||||
|
||||
ethereum-schnorr-contract = { path = "../../networks/ethereum/schnorr", default-features = false }
|
||||
|
||||
[features]
|
||||
alloc = [
|
||||
"std-shims/alloc",
|
||||
@@ -75,4 +77,6 @@ alloc = [
|
||||
"frost-schnorrkel",
|
||||
|
||||
"bitcoin-serai",
|
||||
|
||||
"ethereum-schnorr-contract/alloc",
|
||||
]
|
||||
|
||||
@@ -16,6 +16,8 @@ pub use embedwards25519;
|
||||
|
||||
pub use schnorr_signatures;
|
||||
|
||||
pub use ethereum_schnorr_contract;
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
pub mod alloc {
|
||||
pub use multiexp;
|
||||
|
||||
Reference in New Issue
Block a user