Debian Codegraph @

debian/patches/remove-unavailable-features.patch

raw symbols SCIP
1 Description: Remove unavailable features
2 As we use Debian packaged libzstd not the bundled, some features are
3 not (can not be) enabled at build time and unavailable, or made no-ops:
4 .
5 - debug, fat-lto, no_asm, thin, thin-lto: removed in zstd-sys thus zstd-safe
6 - pkg-config, legacy: no-op in zstd-sys thus zstd-safe
7 - bindgen: non-existent in zstd-sys, removed in zstd-safe
8 - wasm: no-op in original code
9 Last-Update: 2023-02-02
10 ---
11 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
12 Index: zstd/Cargo.toml
13 ===================================================================
14 --- zstd.orig/Cargo.toml
15 +++ zstd/Cargo.toml
16 @@ -53,8 +53,6 @@ repository = "gyscos/zstd-rs"
17
18 [features]
19 arrays = ["zstd-safe/arrays"]
20 -bindgen = ["zstd-safe/bindgen"]
21 -debug = ["zstd-safe/debug"]
22 default = [
23 "legacy",
24 "arrays",
25 @@ -62,15 +60,10 @@ default = [
26 ]
27 doc-cfg = []
28 experimental = ["zstd-safe/experimental"]
29 -fat-lto = ["zstd-safe/fat-lto"]
30 legacy = ["zstd-safe/legacy"]
31 -no_asm = ["zstd-safe/no_asm"]
32 pkg-config = ["zstd-safe/pkg-config"]
33 -thin = ["zstd-safe/thin"]
34 -thin-lto = ["zstd-safe/thin-lto"]
35 wasm = []
36 zdict_builder = ["zstd-safe/zdict_builder"]
37 -zstdmt = ["zstd-safe/zstdmt"]
38
39 [lib]
40 name = "zstd"