mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
977c3c73e3
Summary: Rename the `subtree` endpoint on the EdenAPI server to `complete_trees` to better express what it does (namely, fetching complete trees, in contrast to the lighter weight `/trees` endpoint that serves individual tree nodes). This endpoint is not used by anything yet, so there isn't much risk in renaming it at this stage. In addition to renaming the endpoint, the relevant request struct has been renamed to `CompleteTreeRequest` to better evoke its purpose, and the relevant client and test code has been updated accordingly. Notably, now that the API server is gone, we can remove the usage of this type from Mononoke's `hgproto` crate, thereby cleaning up our dependency graph a bit. Reviewed By: krallin Differential Revision: D22033356 fbshipit-source-id: 87bf6afbeb5e0054896a39577bf701f67a3edfec
29 lines
897 B
TOML
29 lines
897 B
TOML
[package]
|
|
name = "hgproto"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
include = ["src/**/*.rs"]
|
|
|
|
[dependencies]
|
|
mercurial_bundles = { path = "../mercurial/bundles" }
|
|
mercurial_types = { path = "../mercurial/types" }
|
|
mononoke_types = { path = "../mononoke_types" }
|
|
failure_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
anyhow = "1.0"
|
|
bytes-old = { package = "bytes", version = "0.4", features = ["serde"] }
|
|
futures = "0.1"
|
|
hex = "0.4"
|
|
itertools = "0.8"
|
|
nom = { version = "3", features = [ "verbose-errors" ] }
|
|
slog = { version = "2.5", features = ["max_level_debug"] }
|
|
thiserror = "1.0"
|
|
tokio-io = "0.1"
|
|
|
|
[dev-dependencies]
|
|
mercurial_types-mocks = { path = "../mercurial/types/mocks" }
|
|
maplit = "1.0"
|
|
quickcheck = "0.9"
|