Correct imports for no-std

This commit is contained in:
Luke Parker
2024-07-04 01:01:31 -04:00
parent 08169e29bb
commit 3de89c717d
17 changed files with 29 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
use std_shims::{vec::Vec, string::String};
use monero_primitives::keccak256;
const ALPHABET_LEN: u64 = 58;

View File

@@ -4,7 +4,10 @@
#![cfg_attr(not(feature = "std"), no_std)]
use core::fmt::{self, Write};
use std_shims::string::ToString;
use std_shims::{
vec,
string::{String, ToString},
};
use zeroize::Zeroize;