diff --git a/Cargo.lock b/Cargo.lock index f461f45179..e75a89befa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -368,10 +368,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ - "is-terminal", "log", - "regex", - "termcolor", ] [[package]] @@ -458,7 +455,7 @@ dependencies = [ [[package]] name = "fuzz" -version = "0.12.0" +version = "0.12.1" dependencies = [ "libfuzzer-sys", "neqo-common", @@ -814,7 +811,7 @@ dependencies = [ [[package]] name = "neqo-bin" -version = "0.12.0" +version = "0.12.1" dependencies = [ "clap", "clap-verbosity-flag", @@ -837,7 +834,7 @@ dependencies = [ [[package]] name = "neqo-common" -version = "0.12.0" +version = "0.12.1" dependencies = [ "criterion", "enum-map", @@ -853,7 +850,7 @@ dependencies = [ [[package]] name = "neqo-crypto" -version = "0.12.0" +version = "0.12.1" dependencies = [ "bindgen", "log", @@ -868,7 +865,7 @@ dependencies = [ [[package]] name = "neqo-http3" -version = "0.12.0" +version = "0.12.1" dependencies = [ "enumset", "log", @@ -885,7 +882,7 @@ dependencies = [ [[package]] name = "neqo-qpack" -version = "0.12.0" +version = "0.12.1" dependencies = [ "log", "neqo-common", @@ -897,7 +894,7 @@ dependencies = [ [[package]] name = "neqo-transport" -version = "0.12.0" +version = "0.12.1" dependencies = [ "criterion", "enum-map", @@ -915,7 +912,7 @@ dependencies = [ [[package]] name = "neqo-udp" -version = "0.12.0" +version = "0.12.1" dependencies = [ "cfg_aliases", "log", @@ -1228,18 +1225,9 @@ dependencies = [ "syn", ] -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - [[package]] name = "test-fixture" -version = "0.12.0" +version = "0.12.1" dependencies = [ "log", "neqo-common", diff --git a/Cargo.toml b/Cargo.toml index 75ee5b634f..3bd4d6c00d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ description = "Neqo, the Mozilla implementation of QUIC in Rust." keywords = ["quic", "http3", "neqo", "mozilla", "ietf", "firefox"] categories = ["network-programming", "web-programming"] readme = "README.md" -version = "0.12.0" +version = "0.12.1" # Keep in sync with `.rustfmt.toml` `edition`. edition = "2021" license = "MIT OR Apache-2.0" diff --git a/neqo-common/Cargo.toml b/neqo-common/Cargo.toml index 0d05a4043f..ee11980862 100644 --- a/neqo-common/Cargo.toml +++ b/neqo-common/Cargo.toml @@ -18,7 +18,7 @@ workspace = true [dependencies] # Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11 enum-map = { workspace = true } -env_logger = { version = "0.10", default-features = false, features = ["auto-color", "regex"] } +env_logger = { version = "0.10", default-features = false } hex = { version = "0.4", default-features = false, features = ["alloc"], optional = true } log = { workspace = true } qlog = { workspace = true } diff --git a/neqo-common/src/log.rs b/neqo-common/src/log.rs index 16ec127bc2..ac331ede08 100644 --- a/neqo-common/src/log.rs +++ b/neqo-common/src/log.rs @@ -33,18 +33,12 @@ pub fn init(level_filter: Option) { } builder.format(|buf, record| { let elapsed = since_start(); - let level_style = buf.default_level_style(record.level()); - let mut bold = buf.style(); - bold.set_bold(true); writeln!( buf, - "{} {} {}", - bold.value(format!( - "{}.{:03}", - elapsed.as_secs(), - elapsed.as_millis() % 1000 - )), - level_style.value(record.level()), + "{}.{:03} {} {}", + elapsed.as_secs(), + elapsed.as_millis() % 1000, + record.level(), record.args() ) });