From f44e13b9b8665376da170399d90917529267f3cd Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 28 Dec 2023 22:19:05 +0000 Subject: [PATCH] fix(deps): update rust crate sysinfo to 0.30.1 --- Cargo.lock | 37 ++++++-- cli/Cargo.toml | 2 +- thirdparty/crates/BUILD.bazel | 2 +- ...on-1.7.0.bazel => BUILD.rayon-1.8.0.bazel} | 4 +- ....0.bazel => BUILD.rayon-core-1.12.0.bazel} | 8 +- ...29.11.bazel => BUILD.sysinfo-0.30.1.bazel} | 6 +- thirdparty/crates/BUILD.winapi-0.3.9.bazel | 36 -------- thirdparty/crates/BUILD.windows-0.51.1.bazel | 92 +++++++++++++++++++ .../crates/BUILD.windows-core-0.51.1.bazel | 48 ++++++++++ thirdparty/crates/defs.bzl | 56 +++++++---- tools/helm-plugin/Cargo.toml | 2 +- 11 files changed, 216 insertions(+), 77 deletions(-) rename thirdparty/crates/{BUILD.rayon-1.7.0.bazel => BUILD.rayon-1.8.0.bazel} (93%) rename thirdparty/crates/{BUILD.rayon-core-1.11.0.bazel => BUILD.rayon-core-1.12.0.bazel} (89%) rename thirdparty/crates/{BUILD.sysinfo-0.29.11.bazel => BUILD.sysinfo-0.30.1.bazel} (95%) create mode 100644 thirdparty/crates/BUILD.windows-0.51.1.bazel create mode 100644 thirdparty/crates/BUILD.windows-core-0.51.1.bazel diff --git a/Cargo.lock b/Cargo.lock index a0e50aabf..30bbf9bf8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2861,7 +2861,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows", + "windows 0.48.0", ] [[package]] @@ -4198,9 +4198,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" dependencies = [ "either", "rayon-core", @@ -4208,14 +4208,12 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -5662,9 +5660,9 @@ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] name = "sysinfo" -version = "0.29.11" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666" +checksum = "01e979b637815805abbdeea72e4b6d9374dd0efce6524cc65c31e14911dbc671" dependencies = [ "cfg-if", "core-foundation-sys", @@ -5672,7 +5670,7 @@ dependencies = [ "ntapi", "once_cell", "rayon", - "winapi", + "windows 0.51.1", ] [[package]] @@ -6563,6 +6561,25 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +dependencies = [ + "windows-core", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-core" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +dependencies = [ + "windows-targets 0.48.5", +] + [[package]] name = "windows-sys" version = "0.48.0" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index aa4f7204f..1499381f9 100755 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -43,7 +43,7 @@ promptly = "0.3.1" serde_json = "1.0.108" serde_yaml = "0.9.29" sqlx = { version = "0.7.3", features = ["postgres", "runtime-tokio", "tls-native-tls"] } -sysinfo = "0.29.11" +sysinfo = "0.30.1" tokio = { version = "1.35.1", features = ["full"] } tracing = "0.1.40" tracing-subscriber = "0.3.18" diff --git a/thirdparty/crates/BUILD.bazel b/thirdparty/crates/BUILD.bazel index f5f0cab36..9eb4ab17c 100644 --- a/thirdparty/crates/BUILD.bazel +++ b/thirdparty/crates/BUILD.bazel @@ -453,7 +453,7 @@ alias( alias( name = "sysinfo", - actual = "@crate_index__sysinfo-0.29.11//:sysinfo", + actual = "@crate_index__sysinfo-0.30.1//:sysinfo", tags = ["manual"], ) diff --git a/thirdparty/crates/BUILD.rayon-1.7.0.bazel b/thirdparty/crates/BUILD.rayon-1.8.0.bazel similarity index 93% rename from thirdparty/crates/BUILD.rayon-1.7.0.bazel rename to thirdparty/crates/BUILD.rayon-1.8.0.bazel index 08dc27e72..77eaf4642 100644 --- a/thirdparty/crates/BUILD.rayon-1.7.0.bazel +++ b/thirdparty/crates/BUILD.rayon-1.8.0.bazel @@ -38,9 +38,9 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.7.0", + version = "1.8.0", deps = [ "@crate_index__either-1.9.0//:either", - "@crate_index__rayon-core-1.11.0//:rayon_core", + "@crate_index__rayon-core-1.12.0//:rayon_core", ], ) diff --git a/thirdparty/crates/BUILD.rayon-core-1.11.0.bazel b/thirdparty/crates/BUILD.rayon-core-1.12.0.bazel similarity index 89% rename from thirdparty/crates/BUILD.rayon-core-1.11.0.bazel rename to thirdparty/crates/BUILD.rayon-core-1.12.0.bazel index 4670f88fa..b178bfb14 100644 --- a/thirdparty/crates/BUILD.rayon-core-1.11.0.bazel +++ b/thirdparty/crates/BUILD.rayon-core-1.12.0.bazel @@ -39,13 +39,11 @@ rust_library( "noclippy", "norustfmt", ], - version = "1.11.0", + version = "1.12.0", deps = [ - "@crate_index__crossbeam-channel-0.5.8//:crossbeam_channel", "@crate_index__crossbeam-deque-0.8.3//:crossbeam_deque", "@crate_index__crossbeam-utils-0.8.16//:crossbeam_utils", - "@crate_index__num_cpus-1.16.0//:num_cpus", - "@crate_index__rayon-core-1.11.0//:build_script_build", + "@crate_index__rayon-core-1.12.0//:build_script_build", ], ) @@ -77,7 +75,7 @@ cargo_build_script( "noclippy", "norustfmt", ], - version = "1.11.0", + version = "1.12.0", visibility = ["//visibility:private"], ) diff --git a/thirdparty/crates/BUILD.sysinfo-0.29.11.bazel b/thirdparty/crates/BUILD.sysinfo-0.30.1.bazel similarity index 95% rename from thirdparty/crates/BUILD.sysinfo-0.29.11.bazel rename to thirdparty/crates/BUILD.sysinfo-0.30.1.bazel index be7b1bb80..e04aa01a5 100644 --- a/thirdparty/crates/BUILD.sysinfo-0.29.11.bazel +++ b/thirdparty/crates/BUILD.sysinfo-0.30.1.bazel @@ -43,10 +43,10 @@ rust_library( "noclippy", "norustfmt", ], - version = "0.29.11", + version = "0.30.1", deps = [ "@crate_index__cfg-if-1.0.0//:cfg_if", - "@crate_index__rayon-1.7.0//:rayon", + "@crate_index__rayon-1.8.0//:rayon", ] + select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@crate_index__core-foundation-sys-0.8.4//:core_foundation_sys", # cfg(any(target_os = "macos", target_os = "ios")) @@ -64,7 +64,7 @@ rust_library( "@crate_index__libc-0.2.151//:libc", # cfg(not(any(target_os = "unknown", target_arch = "wasm32"))) "@crate_index__ntapi-0.4.1//:ntapi", # cfg(windows) "@crate_index__once_cell-1.19.0//:once_cell", # cfg(any(windows, target_os = "linux", target_os = "android")) - "@crate_index__winapi-0.3.9//:winapi", # cfg(windows) + "@crate_index__windows-0.51.1//:windows", # cfg(windows) ], "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ "@crate_index__libc-0.2.151//:libc", # cfg(not(any(target_os = "unknown", target_arch = "wasm32"))) diff --git a/thirdparty/crates/BUILD.winapi-0.3.9.bazel b/thirdparty/crates/BUILD.winapi-0.3.9.bazel index a3385642f..8182d9eb5 100644 --- a/thirdparty/crates/BUILD.winapi-0.3.9.bazel +++ b/thirdparty/crates/BUILD.winapi-0.3.9.bazel @@ -32,50 +32,32 @@ rust_library( crate_features = [ "basetsd", "cfg", - "combaseapi", "consoleapi", "errhandlingapi", "evntrace", "fileapi", "handleapi", - "heapapi", - "ifdef", "in6addr", "inaddr", - "ioapiset", - "iphlpapi", "knownfolders", "libloaderapi", - "lmaccess", - "lmapibuf", - "lmcons", "memoryapi", "minwinbase", "minwindef", - "netioapi", "ntdef", - "ntlsa", "ntsecapi", "ntstatus", "objbase", - "objidl", - "oleauto", - "pdh", - "powerbase", "processenv", "processthreadsapi", "profileapi", "psapi", - "rpcdce", - "sddl", - "securitybaseapi", "shellapi", "shlobj", "std", "stringapiset", "synchapi", "sysinfoapi", - "wbemcli", "winbase", "wincon", "wincrypt", @@ -113,50 +95,32 @@ cargo_build_script( crate_features = [ "basetsd", "cfg", - "combaseapi", "consoleapi", "errhandlingapi", "evntrace", "fileapi", "handleapi", - "heapapi", - "ifdef", "in6addr", "inaddr", - "ioapiset", - "iphlpapi", "knownfolders", "libloaderapi", - "lmaccess", - "lmapibuf", - "lmcons", "memoryapi", "minwinbase", "minwindef", - "netioapi", "ntdef", - "ntlsa", "ntsecapi", "ntstatus", "objbase", - "objidl", - "oleauto", - "pdh", - "powerbase", "processenv", "processthreadsapi", "profileapi", "psapi", - "rpcdce", - "sddl", - "securitybaseapi", "shellapi", "shlobj", "std", "stringapiset", "synchapi", "sysinfoapi", - "wbemcli", "winbase", "wincon", "wincrypt", diff --git a/thirdparty/crates/BUILD.windows-0.51.1.bazel b/thirdparty/crates/BUILD.windows-0.51.1.bazel new file mode 100644 index 000000000..d5d27dc3b --- /dev/null +++ b/thirdparty/crates/BUILD.windows-0.51.1.bazel @@ -0,0 +1,92 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//thirdparty:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "Wdk", + "Wdk_System", + "Wdk_System_SystemInformation", + "Wdk_System_SystemServices", + "Wdk_System_Threading", + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_NetworkManagement_Ndis", + "Win32_NetworkManagement_NetManagement", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Security", + "Win32_Security_Authentication", + "Win32_Security_Authentication_Identity", + "Win32_Security_Authorization", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_Com", + "Win32_System_Diagnostics", + "Win32_System_Diagnostics_Debug", + "Win32_System_IO", + "Win32_System_Ioctl", + "Win32_System_Kernel", + "Win32_System_LibraryLoader", + "Win32_System_Memory", + "Win32_System_Ole", + "Win32_System_Performance", + "Win32_System_Power", + "Win32_System_ProcessStatus", + "Win32_System_Registry", + "Win32_System_RemoteDesktop", + "Win32_System_Rpc", + "Win32_System_SystemInformation", + "Win32_System_SystemServices", + "Win32_System_Threading", + "Win32_System_Variant", + "Win32_System_WindowsProgramming", + "Win32_System_Wmi", + "Win32_UI", + "Win32_UI_Shell", + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.51.1", + deps = [ + "@crate_index__windows-core-0.51.1//:windows_core", + "@crate_index__windows-targets-0.48.5//:windows_targets", + ], +) diff --git a/thirdparty/crates/BUILD.windows-core-0.51.1.bazel b/thirdparty/crates/BUILD.windows-core-0.51.1.bazel new file mode 100644 index 000000000..7976df897 --- /dev/null +++ b/thirdparty/crates/BUILD.windows-core-0.51.1.bazel @@ -0,0 +1,48 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//thirdparty:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "windows_core", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=windows-core", + "manual", + "noclippy", + "norustfmt", + ], + version = "0.51.1", + deps = [ + "@crate_index__windows-targets-0.48.5//:windows_targets", + ], +) diff --git a/thirdparty/crates/defs.bzl b/thirdparty/crates/defs.bzl index 89e2708ae..509b66e6e 100644 --- a/thirdparty/crates/defs.bzl +++ b/thirdparty/crates/defs.bzl @@ -311,7 +311,7 @@ _NORMAL_DEPENDENCIES = { "serde_json": "@crate_index__serde_json-1.0.108//:serde_json", "serde_yaml": "@crate_index__serde_yaml-0.9.29//:serde_yaml", "sqlx": "@crate_index__sqlx-0.7.3//:sqlx", - "sysinfo": "@crate_index__sysinfo-0.29.11//:sysinfo", + "sysinfo": "@crate_index__sysinfo-0.30.1//:sysinfo", "tokio": "@crate_index__tokio-1.35.1//:tokio", "tracing": "@crate_index__tracing-0.1.40//:tracing", "tracing-subscriber": "@crate_index__tracing-subscriber-0.3.18//:tracing_subscriber", @@ -666,7 +666,7 @@ _NORMAL_DEPENDENCIES = { "serde": "@crate_index__serde-1.0.193//:serde", "serde_json": "@crate_index__serde_json-1.0.108//:serde_json", "serde_yaml": "@crate_index__serde_yaml-0.9.29//:serde_yaml", - "sysinfo": "@crate_index__sysinfo-0.29.11//:sysinfo", + "sysinfo": "@crate_index__sysinfo-0.30.1//:sysinfo", "tokio": "@crate_index__tokio-1.35.1//:tokio", "tracing": "@crate_index__tracing-0.1.40//:tracing", "tracing-subscriber": "@crate_index__tracing-subscriber-0.3.18//:tracing_subscriber", @@ -5102,22 +5102,22 @@ def crate_repositories(): maybe( http_archive, - name = "crate_index__rayon-1.7.0", - sha256 = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b", + name = "crate_index__rayon-1.8.0", + sha256 = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/rayon/1.7.0/download"], - strip_prefix = "rayon-1.7.0", - build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.rayon-1.7.0.bazel"), + urls = ["https://crates.io/api/v1/crates/rayon/1.8.0/download"], + strip_prefix = "rayon-1.8.0", + build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.rayon-1.8.0.bazel"), ) maybe( http_archive, - name = "crate_index__rayon-core-1.11.0", - sha256 = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d", + name = "crate_index__rayon-core-1.12.0", + sha256 = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/rayon-core/1.11.0/download"], - strip_prefix = "rayon-core-1.11.0", - build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.rayon-core-1.11.0.bazel"), + urls = ["https://crates.io/api/v1/crates/rayon-core/1.12.0/download"], + strip_prefix = "rayon-core-1.12.0", + build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.rayon-core-1.12.0.bazel"), ) maybe( @@ -6252,12 +6252,12 @@ def crate_repositories(): maybe( http_archive, - name = "crate_index__sysinfo-0.29.11", - sha256 = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666", + name = "crate_index__sysinfo-0.30.1", + sha256 = "01e979b637815805abbdeea72e4b6d9374dd0efce6524cc65c31e14911dbc671", type = "tar.gz", - urls = ["https://crates.io/api/v1/crates/sysinfo/0.29.11/download"], - strip_prefix = "sysinfo-0.29.11", - build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.sysinfo-0.29.11.bazel"), + urls = ["https://crates.io/api/v1/crates/sysinfo/0.30.1/download"], + strip_prefix = "sysinfo-0.30.1", + build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.sysinfo-0.30.1.bazel"), ) maybe( @@ -7160,6 +7160,26 @@ def crate_repositories(): build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.windows-0.48.0.bazel"), ) + maybe( + http_archive, + name = "crate_index__windows-0.51.1", + sha256 = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows/0.51.1/download"], + strip_prefix = "windows-0.51.1", + build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.windows-0.51.1.bazel"), + ) + + maybe( + http_archive, + name = "crate_index__windows-core-0.51.1", + sha256 = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64", + type = "tar.gz", + urls = ["https://crates.io/api/v1/crates/windows-core/0.51.1/download"], + strip_prefix = "windows-core-0.51.1", + build_file = Label("@org_noelware_charted_server//thirdparty/crates:BUILD.windows-core-0.51.1.bazel"), + ) + maybe( http_archive, name = "crate_index__windows-sys-0.48.0", @@ -7490,7 +7510,7 @@ def crate_repositories(): struct(repo = "crate_index__sqlx-0.7.3", is_dev_dep = False), struct(repo = "crate_index__starlark-0.10.0", is_dev_dep = False), struct(repo = "crate_index__syn-2.0.43", is_dev_dep = False), - struct(repo = "crate_index__sysinfo-0.29.11", is_dev_dep = False), + struct(repo = "crate_index__sysinfo-0.30.1", is_dev_dep = False), struct(repo = "crate_index__tar-0.4.40", is_dev_dep = False), struct(repo = "crate_index__thiserror-1.0.52", is_dev_dep = False), struct(repo = "crate_index__tokio-1.35.1", is_dev_dep = False), diff --git a/tools/helm-plugin/Cargo.toml b/tools/helm-plugin/Cargo.toml index 186ee9e8a..aba9451f1 100644 --- a/tools/helm-plugin/Cargo.toml +++ b/tools/helm-plugin/Cargo.toml @@ -37,7 +37,7 @@ reqwest = "0.11.23" serde = { version = "1.0.193", features = ["rc", "derive"] } serde_json = "1.0.108" serde_yaml = "0.9.29" -sysinfo = "0.29.11" +sysinfo = "0.30.1" tokio = { version = "1.35.1", features = ["full"] } tracing-subscriber = "0.3.18" tracing = "0.1.40"