sasl: Make this crate no_std

We mostly had to import from alloc some structs that are part of the std
prelude, such as Vec and String.
This commit is contained in:
Emmanuel Gil Peyrot 2024-09-25 21:55:02 +02:00
commit dc842c44d1
14 changed files with 57 additions and 19 deletions

View file

@ -1,5 +1,7 @@
use std::collections::BTreeMap;
use std::string::FromUtf8Error;
use alloc::borrow::ToOwned;
use alloc::collections::BTreeMap;
use alloc::string::{FromUtf8Error, String};
use alloc::vec::Vec;
#[cfg(feature = "scram")]
pub mod scram;