sapling/eden/scm/lib/hgcommands/Cargo.toml
Thomas Orozco 21290702e1 third-party/rust: import async-compression + update zstd
Summary:
This imports the async-compression crate. We have an equivalent-ish in
common/rust, but it targets Tokio 0.1, whereas this community-supported crate
targets Tokio 0.2 (it offers a richer API, notably in the sense that we
can use it for Streams, whereas the async-compression crate we have is only for
AsyncWrite).

In the immediate term, I'd like to use this for transfer compression in
Mononoke's LFS Server. In the future, we might also use it in Mononoke where we
currently use our own async compression crate when all that stuff moves to
Tokio 0.2.

Finally, this also updates zstd: the version we link to from tp2 is actually
zstd 1.4.5, so it's a good idea to just get the same version of the zstd crate.

The zstd crate doesn't keep a great changelog, so it's hard to tell what has changed.
At a glance, it looks like the answer is not much, but I'm going to look to Sandcastle
to root out potential issues here.

Reviewed By: StanislavGlebik

Differential Revision: D23652335

fbshipit-source-id: e250cef7a52d640bbbcccd72448fd2d4f548a48a
2020-09-15 07:59:53 -07:00

45 lines
1.6 KiB
TOML

[package]
name = "hgcommands"
version = "0.1.0"
edition = "2018"
[features]
default = ["python2"]
fb = ["configparser/fb", "version/generated"]
python2 = ["bindings/python2", "pytracing/python2", "python27-sys", "cpython-ext/python2", "cpython/python27-sys"]
python3 = ["bindings/python3", "pytracing/python3", "python3-sys", "cpython-ext/python3", "cpython/python3-sys"]
[dependencies]
anyhow = "1.0.20"
bindings = { path = "../../edenscmnative/bindings", default-features = false }
blackbox = { path = "../blackbox" }
clidispatch = { path = "../clidispatch" }
cliparser = { path = "../cliparser", features = ["python"] }
cpython-ext = { path = "../cpython-ext", default-features = false }
cpython = { version = "0.5", default-features = false }
configparser = { path = "../configparser" }
edenapi = { path = "../edenapi" }
edenfs-client = { path = "../edenfs-client"}
encoding = { path = "../encoding" }
env_logger = "0.7"
flate2 = "1"
fsyncglob = { path = "../fsyncglob" }
hgtime = { path = "../hgtime"}
indexedlog = { path = "../indexedlog" }
libc = "0.2"
mincode = { path = "../mincode"}
parking_lot = "0.9"
procinfo = { path = "../procinfo"}
python27-sys = { version = "0.5", optional = true }
python3-sys = { version = "0.5", optional = true }
pytracing = { path = "../../edenscmnative/bindings/modules/pytracing", default-features = false }
revisionstore = { path = "../revisionstore"}
taggederror = { path = "../taggederror"}
thiserror = "1.0.5"
tracing = "0.1"
tracing-collector = { path = "../tracing-collector" }
types = { path = "../types" }
util = { path = "../util" }
version = { path = "../version" }
zstd = "0.5"