Colorizing is now no_std compatible
This commit is contained in:
parent
e741cab89d
commit
9d59c79674
3 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@ log = { version = "0.4.17", features = ["max_level_debug", "release_max_level_de
|
|||
no-std-net = "0.6"
|
||||
subtle = "2.4.1"
|
||||
safemem = "0.3.3"
|
||||
colored = "2.0.0" # TODO: Requires STD
|
||||
owo-colors = "3"
|
||||
|
||||
# STD-only dependencies
|
||||
env_logger = { version = "0.10.0", default-features = false, optional = true }
|
||||
|
|
|
@ -29,10 +29,10 @@ use crate::{
|
|||
session::Session,
|
||||
},
|
||||
};
|
||||
use colored::Colorize;
|
||||
use log::{error, info};
|
||||
use num;
|
||||
use num_derive::FromPrimitive;
|
||||
use owo_colors::OwoColorize;
|
||||
|
||||
use super::messages::{
|
||||
ib::{AttrPath, DataVersionFilter},
|
||||
|
@ -43,7 +43,7 @@ use super::messages::{
|
|||
#[macro_export]
|
||||
macro_rules! cmd_enter {
|
||||
($e:expr) => {{
|
||||
use colored::Colorize;
|
||||
use owo_colors::OwoColorize;
|
||||
info! {"{} {}", "Handling Command".cyan(), $e.cyan()}
|
||||
}};
|
||||
}
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
use colored::*;
|
||||
use core::any::Any;
|
||||
use core::fmt;
|
||||
use core::time::Duration;
|
||||
use log::{error, info, trace};
|
||||
use owo_colors::OwoColorize;
|
||||
|
||||
use crate::error::{Error, ErrorCode};
|
||||
use crate::interaction_model::core::{ResumeReadReq, ResumeSubscribeReq};
|
||||
|
|
Loading…
Add table
Reference in a new issue