sapling/eden/mononoke/mononoke_api/Cargo.toml
Arun Kulshreshtha edb856a77e mononoke_api: use create_getpack_v2_blob in HgFileContext
Summary: Use `create_getpack_v2_blob` instead of `create_getpack_v1_blob` for fetching file content because the former also provides metadata, which is required to support LFS.

Reviewed By: quark-zju

Differential Revision: D22564950

fbshipit-source-id: 2835160a9dfd18b80cd13e4a5dbcf6f4ce2f4579
2020-07-22 10:37:14 -07:00

68 lines
2.9 KiB
TOML

[package]
name = "mononoke_api"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]
[dependencies]
blame = { path = "../derived_data/blame" }
blobrepo = { path = "../blobrepo" }
blobrepo_factory = { path = "../blobrepo/factory" }
blobrepo_hg = { path = "../blobrepo/blobrepo_hg" }
blobstore = { path = "../blobstore" }
blobstore_factory = { path = "../blobstore/factory" }
bookmarks = { path = "../bookmarks" }
changeset_info = { path = "../derived_data/changeset_info" }
context = { path = "../server/context" }
cross_repo_sync = { path = "../commit_rewriting/cross_repo_sync" }
derived_data = { path = "../derived_data" }
fastlog = { path = "../derived_data/fastlog" }
filestore = { path = "../filestore" }
fsnodes = { path = "../derived_data/fsnodes" }
getbundle_response = { path = "../repo_client/getbundle_response" }
hgproto = { path = "../hgproto" }
live_commit_sync_config = { path = "../commit_rewriting/live_commit_sync_config" }
manifest = { path = "../manifest" }
mercurial_types = { path = "../mercurial/types" }
metaconfig_parser = { path = "../metaconfig/parser" }
metaconfig_types = { path = "../metaconfig/types" }
mononoke_types = { path = "../mononoke_types" }
permission_checker = { path = "../permission_checker" }
reachabilityindex = { path = "../reachabilityindex" }
remotefilelog = { path = "../repo_client/remotefilelog" }
repo_client = { path = "../repo_client" }
revisionstore_types = { path = "../../scm/lib/revisionstore/types" }
revset = { path = "../revset" }
scuba_ext = { path = "../common/scuba_ext" }
skiplist = { path = "../reachabilityindex/skiplist" }
sql_ext = { path = "../common/rust/sql_ext" }
synced_commit_mapping = { path = "../commit_rewriting/synced_commit_mapping" }
unbundle = { path = "../repo_client/unbundle" }
unodes = { path = "../derived_data/unodes" }
warm_bookmarks_cache = { path = "../bookmarks/warm_bookmarks_cache" }
xdiff = { path = "../../scm/lib/xdiff" }
cached_config = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
anyhow = "1.0"
async-trait = "0.1.29"
bytes = { version = "0.5", features = ["serde"] }
chrono = { version = "0.4", features = ["serde"] }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1" }
itertools = "0.8"
maplit = "1.0"
slog = { version = "2.5", features = ["max_level_debug"] }
thiserror = "1.0"
[dev-dependencies]
cross_repo_sync_test_utils = { path = "../commit_rewriting/cross_repo_sync/test_utils" }
fixtures = { path = "../tests/fixtures" }
sql_construct = { path = "../common/sql_construct" }
tests_utils = { path = "../tests/utils" }
assert_matches = "1.3"
tokio-compat = "0.1"