Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 22.05 31 lines 744 B view raw
1diff --git a/Cargo.lock b/Cargo.lock 2index 202cda0..bc864cc 100644 3--- a/Cargo.lock 4+++ b/Cargo.lock 5@@ -872,6 +872,7 @@ dependencies = [ 6 "tokei", 7 "toml", 8 "yaml-rust", 9+ "zstd-sys", 10 ] 11 12 [[package]] 13@@ -1678,4 +1679,5 @@ checksum = "2141bed8922b427761470e6bbfeff255da94fa20b0bbeab0d9297fcaf71e3aa7" 14 dependencies = [ 15 "cc", 16 "libc", 17+ "pkg-config", 18 ] 19diff --git a/Cargo.toml b/Cargo.toml 20index 8e0b5ff..48959b4 100644 21--- a/Cargo.toml 22+++ b/Cargo.toml 23@@ -57,6 +57,8 @@ libc = "0.2.112" 24 [dev-dependencies] 25 more-asserts = "0.2" 26 paste = "1.0.7" 27+# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library 28+zstd-sys = { version = "1", features = [ "pkg-config" ] } 29 30 [features] 31 fail-on-deprecated = []