[package] cargo-toml-patch-comments = [ "make bindgen build-dependency non-optional", "fix logic for included / excluded files", "exclude files that are only useful for upstream development", ] [[package.extra-patches]] number = 10 file = "0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch" comments = [ "unconditionally use bindgen and pkg-config to link against system libzstd", ] [features] hide = [ "no_wasm_shim", ] [requires] build = ["pkgconfig(libzstd)"] lib = ["pkgconfig(libzstd)"] [scripts] prep.post = [ "# * remove bundled zstd sources", "rm -vr zstd/", ]