sapling/eden/mononoke/edenapi_server/Cargo.toml
Arun Kulshreshtha 6849666105 edenapi_types: add metadata field to DataEntry
Summary:
Add a metadata field to `read_res` containing a `revisionstore::Metadata` struct (which contains the object size and flags). The main purpose of this is to support LFS, which is indicated via a metadata flag.

Although this change affects the `DataEntry` struct which is serialized over the wire, version skew between the client and server should not break things since the field will automatically be populated with a default value if it is missing in the serialized response, and ignored if the client was built with an earlier version of the code without this field.

In practice, version skew isn't really a concern since this isn't used in production yet.

Reviewed By: quark-zju

Differential Revision: D22544195

fbshipit-source-id: 0af5c0565c17bdd61be5d346df008c92c5854e08
2020-07-16 13:32:19 -07:00

43 lines
1.6 KiB
TOML

[package]
name = "edenapi_server"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]
[dependencies]
blobrepo_factory = { path = "../blobrepo/factory" }
cmdlib = { path = "../cmdlib" }
context = { path = "../server/context" }
edenapi_types = { path = "../../scm/lib/edenapi/types" }
gotham_ext = { path = "../gotham_ext" }
mercurial_types = { path = "../mercurial/types" }
mononoke_api = { path = "../mononoke_api" }
mononoke_types = { path = "../mononoke_types" }
permission_checker = { path = "../permission_checker" }
revisionstore_types = { path = "../../scm/lib/revisionstore/types" }
types = { path = "../../scm/lib/types" }
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
scuba = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
secure_utils = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
anyhow = "1.0"
async-trait = "0.1.29"
bytes = { version = "0.5", features = ["serde"] }
clap = "2.33"
futures = { version = "0.3.5", features = ["async-await", "compat"] }
gotham = { version = "=0.5.0-dev", default-features = false }
gotham_derive = "=0.5.0-dev"
http = "0.2"
hyper = "0.13"
mime = "0.3.14"
once_cell = "1.4"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = "1.0"
slog = { version = "2.5", features = ["max_level_debug"] }
thiserror = "1.0"
tokio = { version = "=0.2.13", features = ["full"] }
tokio-openssl = "0.4"