mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 14:09:25 +00:00
Correct imports for no-std
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std_shims::{vec::Vec, string::String};
|
||||
|
||||
use monero_primitives::keccak256;
|
||||
|
||||
const ALPHABET_LEN: u64 = 58;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user