File: remove-unavailable-features.patch

package info (click to toggle)
rust-zstd 0.13.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,239 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-ops:
 .
 - debug, fat-lto, no_asm, thin, thin-lto: removed in zstd-sys thus zstd-safe
 - pkg-config, legacy: no-op in zstd-sys thus zstd-safe
 - bindgen: non-existent in zstd-sys, removed in zstd-safe
 - wasm: no-op in original code
Last-Update: 2023-02-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: zstd/Cargo.toml
===================================================================
--- zstd.orig/Cargo.toml
+++ zstd/Cargo.toml
@@ -53,8 +53,6 @@ repository = "gyscos/zstd-rs"
 
 [features]
 arrays = ["zstd-safe/arrays"]
-bindgen = ["zstd-safe/bindgen"]
-debug = ["zstd-safe/debug"]
 default = [
     "legacy",
     "arrays",
@@ -62,15 +60,10 @@ default = [
 ]
 doc-cfg = []
 experimental = ["zstd-safe/experimental"]
-fat-lto = ["zstd-safe/fat-lto"]
 legacy = ["zstd-safe/legacy"]
-no_asm = ["zstd-safe/no_asm"]
 pkg-config = ["zstd-safe/pkg-config"]
-thin = ["zstd-safe/thin"]
-thin-lto = ["zstd-safe/thin-lto"]
 wasm = []
 zdict_builder = ["zstd-safe/zdict_builder"]
-zstdmt = ["zstd-safe/zstdmt"]
 
 [lib]
 name = "zstd"