From 8e18d2d6c2e414ec59e87e72dff7bef9caa90657 Mon Sep 17 00:00:00 2001 From: Seth Westphal Date: Wed, 15 Nov 2023 18:33:53 -0600 Subject: [PATCH 1/2] Update dependencies. Signed-off-by: Seth Westphal --- Cargo.toml | 4 ++-- static-metric/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e2197605..c9d1e1c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,10 +36,10 @@ reqwest = { version = "^0.11", features = ["blocking"], optional = true } thiserror = "^1.0" [target.'cfg(target_os = "linux")'.dependencies] -procfs = { version = "^0.14", optional = true, default-features = false } +procfs = { version = "^0.16", optional = true, default-features = false } [dev-dependencies] -criterion = "0.4" +criterion = "0.5" getopts = "^0.2" hyper = { version = "^0.14", features = ["server", "http1", "tcp"] } tokio = { version = "^1.0", features = ["macros", "rt-multi-thread"] } diff --git a/static-metric/Cargo.toml b/static-metric/Cargo.toml index 7827b183..88e0e735 100644 --- a/static-metric/Cargo.toml +++ b/static-metric/Cargo.toml @@ -13,13 +13,13 @@ edition = "2018" proc-macro = true [dependencies] -syn = { version = "1.0", features = ["full", "extra-traits"] } +syn = { version = "2.0", features = ["full", "extra-traits"] } proc-macro2 = "1.0" quote = "1.0" lazy_static = "1.4" [dev-dependencies] -criterion = "0.4" +criterion = "0.5" prometheus = { path = "../" } [features] From 0a8ed568a34007ce6d6683c7e604db6639c8382a Mon Sep 17 00:00:00 2001 From: Seth Westphal Date: Wed, 22 Nov 2023 19:19:06 -0600 Subject: [PATCH 2/2] Updates. Signed-off-by: Seth Westphal --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 11c951a9..27de644f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,9 +9,9 @@ on: env: CARGO_TERM_COLOR: always # Pinned toolchain for linting and benchmarks - ACTIONS_LINTS_TOOLCHAIN: 1.65.0 + ACTIONS_LINTS_TOOLCHAIN: 1.70.0 # Minimum supported Rust version (MSRV) - ACTION_MSRV_TOOLCHAIN: 1.65.0 + ACTION_MSRV_TOOLCHAIN: 1.70.0 EXTRA_FEATURES: "protobuf push process" jobs: