Fix no-std builds

This commit is contained in:
Luke Parker 2023-11-29 03:19:53 -05:00
parent 8040fedddf
commit d1122a6535
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -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
`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.

View file

@ -1,6 +1,7 @@
use core::ops::Deref;
use std_shims::{
vec::Vec,
string::ToString,
io::{self, Read, Write},
};