From 4ec03fce137f1292e3c128ab9a4be561452839a1 Mon Sep 17 00:00:00 2001 From: Mohammad Cheikh Date: Mon, 7 Oct 2024 12:34:07 -0400 Subject: [PATCH 1/2] update toolchain qos --- src/rust-toolchain.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust-toolchain.toml b/src/rust-toolchain.toml index 8287f65c..f6ae0fd5 100644 --- a/src/rust-toolchain.toml +++ b/src/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.76" -components = [ "rustfmt", "cargo", "clippy", "rust-analyzer" ] +channel = "1.81" +components = ["rustfmt", "cargo", "clippy", "rust-analyzer"] profile = "minimal" From 13d483be4b5c48825a120a30d72fee79a7138cd7 Mon Sep 17 00:00:00 2001 From: Mohammad Cheikh Date: Mon, 7 Oct 2024 13:17:52 -0400 Subject: [PATCH 2/2] fix lint err --- src/qos_net/Cargo.toml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/qos_net/Cargo.toml b/src/qos_net/Cargo.toml index e4899c4a..73bf8b5e 100644 --- a/src/qos_net/Cargo.toml +++ b/src/qos_net/Cargo.toml @@ -7,19 +7,27 @@ publish = false [dependencies] qos_core = { path = "../qos_core", default-features = false } -borsh = { version = "1.0", features = ["std", "derive"] , default-features = false} +borsh = { version = "1.0", features = [ + "std", + "derive", +], default-features = false } serde = { version = "1", features = ["derive"], default-features = false } -hickory-resolver = { version = "0.24.1", features = ["tokio-runtime"], default-features = false, optional = true} +hickory-resolver = { version = "0.24.1", features = [ + "tokio-runtime", +], default-features = false, optional = true } rand = { version = "0.8.5", default-features = false, optional = true } [dev-dependencies] qos_test_primitives = { path = "../qos_test_primitives" } httparse = { version = "1.9.4", default-features = false } chunked_transfer = { version = "1.5.0", default-features = false } -serde_json = { version = "1.0.121", features = ["std"], default-features = false } +serde_json = { version = "1.0.121", features = [ + "std", +], default-features = false } rustls = { version = "0.23.5" } webpki-roots = { version = "0.26.1" } [features] -default = ["proxy"] # keep this as a default feature ensures we lint by default +default = ["proxy"] # keep this as a default feature ensures we lint by default proxy = ["rand", "hickory-resolver"] +vm = []