mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Expose std_shims::io on core
The `io::Write` trait is somewhat worthless, being implemented for nothing, yet `Read` remains fully functional. This also allows using its polyfills _without_ requiring `alloc`. Opportunity taken to make `schnorr-signatures` not require `alloc`. This will require a version bump before being published due to newly requiring the `alloc` feature be specified to maintain pre-existing behavior. Enables resolving https://github.com/monero-oxide/monero-oxide/issues/48.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#![no_std]
|
||||
|
||||
pub use std_shims;
|
||||
|
||||
pub use flexible_transcript;
|
||||
|
||||
pub use dalek_ff_group;
|
||||
@@ -11,18 +13,20 @@ pub use prime_field;
|
||||
pub use short_weierstrass;
|
||||
pub use secq256k1;
|
||||
pub use embedwards25519;
|
||||
/*
|
||||
pub use modular_frost;
|
||||
pub use frost_schnorrkel;
|
||||
*/
|
||||
|
||||
pub use schnorr_signatures;
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
pub mod alloc {
|
||||
pub use multiexp;
|
||||
pub use schnorr_signatures;
|
||||
|
||||
pub use dkg;
|
||||
pub use dkg_evrf;
|
||||
|
||||
pub use bitcoin_serai;
|
||||
|
||||
/*
|
||||
pub use modular_frost;
|
||||
pub use frost_schnorrkel;
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user