mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Fix no-std builds
This commit is contained in:
@@ -4,4 +4,4 @@ Generators used by Monero in both its Pedersen commitments and Bulletproofs(+).
|
|||||||
An implementation of Monero's `ge_fromfe_frombytes_vartime`, simply called
|
An implementation of Monero's `ge_fromfe_frombytes_vartime`, simply called
|
||||||
`hash_to_point` here, is included, as needed to generate generators.
|
`hash_to_point` here, is included, as needed to generate generators.
|
||||||
|
|
||||||
This library is usable under no_std when the `alloc` feature is enabled.
|
This library is usable under no-std when the `std` feature is disabled.
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
use core::ops::Deref;
|
use core::ops::Deref;
|
||||||
use std_shims::{
|
use std_shims::{
|
||||||
vec::Vec,
|
vec::Vec,
|
||||||
|
string::ToString,
|
||||||
io::{self, Read, Write},
|
io::{self, Read, Write},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user