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: diff --git a/Cargo.toml b/Cargo.toml index 5cf82f25..0ed1b828 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,10 +33,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]