third-party/rust: add experimental feature to zstd

Summary: Exposes useful bits.

Reviewed By: zertosh

Differential Revision: D43415046

fbshipit-source-id: 28b5ef3dacc34a39d195569b4661dcf60277b589
This commit is contained in:
Jeremy Fitzhardinge 2023-02-23 09:28:19 -08:00 committed by Facebook GitHub Bot
parent 30489964d1
commit 262ebf7e40
6 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ strum = "0.21"
strum_macros = "0.21"
thiserror = "1.0.36"
trait-set = "0.3.0"
zstd = { version = "0.11.2+zstd.1.5.2", features = ["zstdmt"] }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["experimental", "zstdmt"] }
[dev-dependencies]
borrowed = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }

View File

@ -20,7 +20,7 @@ futures = { version = "0.3.22", features = ["async-await", "compat"] }
metaconfig_types = { version = "0.1.0", path = "../../metaconfig/types" }
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
packblob_thrift = { version = "0.1.0", path = "if" }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["zstdmt"] }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["experimental", "zstdmt"] }
[dev-dependencies]
borrowed = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }

View File

@ -15,5 +15,5 @@ futures_ext = { package = "futures_01_ext", version = "0.1.0", git = "https://gi
metadata = { version = "0.1.0", path = "../server/metadata" }
netstring = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
tokio-util = { version = "0.6", features = ["full"] }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["zstdmt"] }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["experimental", "zstdmt"] }
zstd-safe = { version = "5.0.1+zstd.1.5.2", features = ["std"] }

View File

@ -38,7 +38,7 @@ unionconfig = { version = "0.1.0", path = "../union" }
url = "2.2.2"
util = { version = "0.1.0", path = "../../util" }
version = { version = "0.1.0", path = "../../version" }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["zstdmt"], optional = true }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["experimental", "zstdmt"], optional = true }
[dev-dependencies]
lazy_static = "1.4"

View File

@ -71,7 +71,7 @@ url = "2.2.2"
util = { version = "0.1.0", path = "../util" }
version = { version = "0.1.0", path = "../version" }
workingcopy = { version = "0.1.0", path = "../workingcopy" }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["zstdmt"] }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["experimental", "zstdmt"] }
[features]
default = []

View File

@ -40,4 +40,4 @@ url = "2.2.2"
assert_matches = "1.5"
crossbeam = "0.8"
mockito = "0.25"
zstd = { version = "0.11.2+zstd.1.5.2", features = ["zstdmt"] }
zstd = { version = "0.11.2+zstd.1.5.2", features = ["experimental", "zstdmt"] }