mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
439dd2d495
Summary: Move client hostname reverse DNS lookup from inside of the LFS server's `RequestContext` to an async method on `ClientIdentity`, allowing it to be used elsewhere. The behavior of `RequestContext::dispatch_post_request` should remain unchanged. Reviewed By: krallin Differential Revision: D22835610 fbshipit-source-id: 15c1183f64324f216bd639630396c9c6f19bcaaa
60 lines
2.3 KiB
TOML
60 lines
2.3 KiB
TOML
[package]
|
|
name = "lfs_server"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
include = ["src/**/*.rs"]
|
|
|
|
[dependencies]
|
|
blobrepo = { path = "../blobrepo" }
|
|
blobrepo_factory = { path = "../blobrepo/factory" }
|
|
blobstore = { path = "../blobstore" }
|
|
cmdlib = { path = "../cmdlib" }
|
|
context = { path = "../server/context" }
|
|
filestore = { path = "../filestore" }
|
|
gotham_ext = { path = "../gotham_ext" }
|
|
lfs_protocol = { path = "../lfs_protocol" }
|
|
metaconfig_parser = { path = "../metaconfig/parser" }
|
|
metaconfig_types = { path = "../metaconfig/types" }
|
|
mononoke_types = { path = "../mononoke_types" }
|
|
permission_checker = { path = "../permission_checker" }
|
|
redactedblobstore = { path = "../blobstore/redactedblobstore" }
|
|
time_window_counter = { path = "../time_window_counter" }
|
|
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" }
|
|
scuba = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
secure_utils = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
time_ext = { 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"] }
|
|
futures-util = "0.3"
|
|
gotham = { version = "=0.5.0-dev", default-features = false }
|
|
gotham_derive = "=0.5.0-dev"
|
|
http = "0.2"
|
|
hyper = "0.13"
|
|
hyper-openssl = "0.8"
|
|
itertools = "0.8"
|
|
maplit = "1.0"
|
|
mime = "0.3.14"
|
|
pin-project = "0.4"
|
|
rand = { version = "0.7", features = ["small_rng"] }
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
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"
|
|
|
|
[dev-dependencies]
|
|
blobrepo_override = { path = "../blobrepo/override" }
|
|
mononoke_types-mocks = { path = "../mononoke_types/mocks" }
|
|
futures-old = { package = "futures", version = "0.1" }
|
|
pretty_assertions = "0.6"
|
|
tokio-compat = "0.1"
|