mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
Update to zstd-1.4.x
Summary: * Update to zstd-1.4.x * Update to the latest zstd-rs Reviewed By: Cyan4973 Differential Revision: D15040909 fbshipit-source-id: 938904d95ab8b1108d750d83602ee9c11c2c87b5
This commit is contained in:
parent
baacd19749
commit
ebdf5f1baf
@ -7,7 +7,7 @@ failure = "0.1.3"
|
||||
clap = "2.32.0"
|
||||
log = "0.4.6"
|
||||
env_logger = "0.6.0"
|
||||
toml = "0.4.8"
|
||||
toml = "0.5.0"
|
||||
serde = "1.0.80"
|
||||
serde_derive = "1.0.80"
|
||||
|
||||
|
@ -10,7 +10,7 @@ failure = "0.1"
|
||||
libc = "0.2" # version taken from fbcode/third-party2/.../crates.io/..
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
toml = "0.4"
|
||||
toml = "0.5"
|
||||
|
||||
[dependencies.telemetry]
|
||||
path = "../../../telemetry/telemetry"
|
||||
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.43" # keep it in sync with zstd-sys
|
||||
zstd-sys = "= 1.4.6+zstd.1.3.7" # pinned. zstd advanced API changes rapidly
|
||||
zstd-sys = { version = "= 1.4.10+zstd.1.4.0", features = ["experimental"] } # pinned. zstd advanced API changes rapidly
|
||||
|
||||
[dev-dependencies]
|
||||
quickcheck = "0.6"
|
||||
|
@ -52,7 +52,7 @@ pub fn diff(base: &[u8], data: &[u8]) -> io::Result<Vec<u8>> {
|
||||
chainLog: ZSTD_CHAINLOG_MIN, // useless using "fast" strategy
|
||||
hashLog: hlog,
|
||||
searchLog: ZSTD_SEARCHLOG_MIN, // useless using "fast" strategy
|
||||
searchLength: 7, // level 1 default (see ZSTD_defaultCParameters)
|
||||
minMatch: 7, // level 1 default (see ZSTD_defaultCParameters)
|
||||
targetLength: 0, // enable huffman compression of literals (for "fast" strategy)
|
||||
strategy: ZSTD_strategy::ZSTD_fast,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user