vector: 0.37.0 → 0.37.1

+27 -18
+11 -11
pkgs/tools/misc/vector/Cargo.lock
··· 1145 1145 "aws-smithy-types", 1146 1146 "bytes 1.5.0", 1147 1147 "fastrand 2.0.1", 1148 - "h2 0.3.24", 1148 + "h2 0.3.26", 1149 1149 "http 0.2.9", 1150 1150 "http-body 0.4.5", 1151 1151 "hyper 0.14.28", ··· 3747 3747 3748 3748 [[package]] 3749 3749 name = "h2" 3750 - version = "0.3.24" 3750 + version = "0.3.26" 3751 3751 source = "registry+https://github.com/rust-lang/crates.io-index" 3752 - checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" 3752 + checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" 3753 3753 dependencies = [ 3754 3754 "bytes 1.5.0", 3755 3755 "fnv", ··· 3766 3766 3767 3767 [[package]] 3768 3768 name = "h2" 3769 - version = "0.4.3" 3769 + version = "0.4.4" 3770 3770 source = "registry+https://github.com/rust-lang/crates.io-index" 3771 - checksum = "51ee2dd2e4f378392eeff5d51618cd9a63166a2513846bbc55f21cfacd9199d4" 3771 + checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069" 3772 3772 dependencies = [ 3773 3773 "bytes 1.5.0", 3774 3774 "fnv", ··· 4210 4210 "futures-channel", 4211 4211 "futures-core", 4212 4212 "futures-util", 4213 - "h2 0.3.24", 4213 + "h2 0.3.26", 4214 4214 "http 0.2.9", 4215 4215 "http-body 0.4.5", 4216 4216 "httparse", 4217 4217 "httpdate", 4218 4218 "itoa", 4219 4219 "pin-project-lite", 4220 - "socket2 0.5.6", 4220 + "socket2 0.4.10", 4221 4221 "tokio", 4222 4222 "tower-service", 4223 4223 "tracing 0.1.40", ··· 7515 7515 "encoding_rs", 7516 7516 "futures-core", 7517 7517 "futures-util", 7518 - "h2 0.3.24", 7518 + "h2 0.3.26", 7519 7519 "http 0.2.9", 7520 7520 "http-body 0.4.5", 7521 7521 "hyper 0.14.28", ··· 9371 9371 "base64 0.21.7", 9372 9372 "bytes 1.5.0", 9373 9373 "flate2", 9374 - "h2 0.3.24", 9374 + "h2 0.3.26", 9375 9375 "http 0.2.9", 9376 9376 "http-body 0.4.5", 9377 9377 "hyper 0.14.28", ··· 10017 10017 10018 10018 [[package]] 10019 10019 name = "vector" 10020 - version = "0.37.0" 10020 + version = "0.37.1" 10021 10021 dependencies = [ 10022 10022 "apache-avro", 10023 10023 "approx", ··· 10083 10083 "governor", 10084 10084 "greptimedb-client", 10085 10085 "grok", 10086 - "h2 0.4.3", 10086 + "h2 0.4.4", 10087 10087 "hash_hasher", 10088 10088 "hashbrown 0.14.3", 10089 10089 "headers",
+4 -7
pkgs/tools/misc/vector/default.nix
··· 37 37 38 38 let 39 39 pname = "vector"; 40 - version = "0.37.0"; 40 + version = "0.37.1"; 41 41 in 42 42 rustPlatform.buildRustPackage { 43 43 inherit pname version; ··· 46 46 owner = "vectordotdev"; 47 47 repo = pname; 48 48 rev = "v${version}"; 49 - hash = "sha256-v93ZsNGoswPpey409V7qKqsBsfRt5pgY5PxGti4MlDg="; 49 + hash = "sha256-wRXwgy+UY2z5fIWpQbDxRti54GE357WMGWXM/xKjz18="; 50 50 }; 51 51 52 52 patches = [ 53 53 # Enable LTO to bring down binary size 54 - (fetchpatch { 55 - name = "vector-20034-lto.patch"; 56 - url = "https://patch-diff.githubusercontent.com/raw/vectordotdev/vector/pull/20034.diff"; 57 - hash = "sha256-X6YWnW0x5WpKAgyqIaLjKF1F1/G4JgvmNhAHtozXrPQ="; 58 - }) 54 + # Adapted from https://github.com/vectordotdev/vector/pull/20034 55 + ./vector-lto.patch 59 56 ]; 60 57 61 58 cargoLock = {
+12
pkgs/tools/misc/vector/vector-lto.patch
··· 1 + --- ./Cargo.toml 2024-04-10 00:01:12.033806583 +0100 2 + +++ ./Cargo.toml 2024-04-10 00:01:48.324228125 +0100 3 + @@ -45,7 +45,8 @@ path = "tests/e2e/mod.rs" 4 + # This results in roughly a 5% reduction in performance when compiling locally vs when 5 + # compiled via the CI pipeline. 6 + [profile.release] 7 + -debug = false # Do not include debug symbols in the executable. 8 + +lto = true 9 + +codegen-units = 1 10 + 11 + [profile.bench] 12 + debug = true