| 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 |
|
| 21 |
|
| 22 |
default = [ |
| 23 |
"legacy", |
| 24 |
"arrays", |
| 25 |
@@ -62,15 +60,10 @@ default = [ |
| 26 |
] |
| 27 |
doc-cfg = [] |
| 28 |
experimental = ["zstd-safe/experimental"] |
| 29 |
|
| 30 |
legacy = ["zstd-safe/legacy"] |
| 31 |
|
| 32 |
pkg-config = ["zstd-safe/pkg-config"] |
| 33 |
|
| 34 |
|
| 35 |
wasm = [] |
| 36 |
zdict_builder = ["zstd-safe/zdict_builder"] |
| 37 |
|
| 38 |
|
| 39 |
[lib] |
| 40 |
name = "zstd" |