File: remove-unavailable-features.diff

package info (click to toggle)
rust-zstd-sys 2.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228 kB
  • sloc: ansic: 62; makefile: 4
file content (40 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Remove unavailable features
 As we use Debian packaged libzstd not the bundled, some features are
 not (can not be) enabled at build time and unavailable, or made no-op:
 - debug, fat-lto, no_asm, thin, thin-lto: only useful with bundled zstd
 - zstdmt: deprecated, upstream hidden by default
 - legacy: Debian package has it on
 - pkg-config: always used
 - std: no-op with use-std-c-ffi.patch
Last-Update: 2023-11-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: zstd-sys/Cargo.toml
===================================================================
--- zstd-sys.orig/Cargo.toml
+++ zstd-sys/Cargo.toml
@@ -55,24 +55,15 @@ repository = "https://github.com/gyscos/
 features = ["experimental"]
 
 [features]
-debug = []
 default = [
     "legacy",
     "zdict_builder",
 ]
 experimental = []
-fat-lto = []
 legacy = []
-no_asm = []
-no_wasm_shim = []
-non-cargo = []
 pkg-config = []
-seekable = []
 std = []
-thin = []
-thin-lto = []
 zdict_builder = []
-zstdmt = []
 
 [lib]
 name = "zstd_sys"