mononoke: add Cargo.toml files for code previously depending on identity_ext

Reviewed By: farnz

Differential Revision: D21864833

fbshipit-source-id: 782175af73f5937534566c99e6dc1e7fcf319f6c
This commit is contained in:
Lukas Piatkowski 2020-06-10 18:08:35 -07:00 committed by Zeyi (Rice) Fan
parent f3753fd0bd
commit ad896878b5
5 changed files with 94 additions and 1 deletions

View File

@ -1,6 +1,7 @@
[workspace]
members = [
".",
"backsyncer",
"benchmark",
"blobimport_lib",
@ -47,6 +48,7 @@ members = [
"changesets/if",
"cmdlib",
"cmdlib/x_repo",
"cmds/blobrepo_checker",
"commit_rewriting/bookmark_renaming",
"commit_rewriting/cross_repo_sync",
"commit_rewriting/cross_repo_sync/test_utils",
@ -83,6 +85,8 @@ members = [
"git/git_types",
"git/git_types/if",
"git/gitimport",
"gotham_ext",
"hgcli",
"hgproto",
"hook_tailer",
"hooks",

View File

@ -0,0 +1,24 @@
[package]
name = "blobrepo_checker"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]
[dependencies]
blobrepo = { path = "../../blobrepo" }
blobstore = { path = "../../blobstore" }
bookmarks = { path = "../../bookmarks" }
cmdlib = { path = "../../cmdlib" }
context = { path = "../../server/context" }
filestore = { path = "../../filestore" }
mercurial_types = { path = "../../mercurial/types" }
mononoke_types = { path = "../../mononoke_types" }
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { 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"
futures = "0.1"
thiserror = "1.0"
tokio = "0.1"

View File

@ -249,7 +249,7 @@ fn subcommand_round_trip(
.discard()
};
tokio::run(verify_fut);
tokio_old::run(verify_fut);
let end_points: Vec<_> = end_receiver.into_iter().collect();
process::exit(summarize(

View File

@ -0,0 +1,32 @@
[package]
name = "gotham_ext"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]
[dependencies]
permission_checker = { path = "../permission_checker" }
anyhow = "1.0"
async-trait = "0.1.29"
bytes = { version = "0.5", features = ["serde"] }
failure = "0.1"
futures = { version = "0.3", features = ["async-await", "compat"] }
gotham = { version = "=0.5.0-dev", default-features = false }
gotham_derive = "=0.5.0-dev"
hex = "0.4"
http = "0.2"
hyper = "0.13"
itertools = "0.8"
lazy_static = "1.0"
mime = "0.3.14"
openssl = "0.10"
percent-encoding = "2.1"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = "1.0"
[dev-dependencies]
async_unit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
tokio = { version = "=0.2.13", features = ["full"] }

View File

@ -0,0 +1,33 @@
[package]
name = "hgcli"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]
[dependencies]
context = { path = "../server/context" }
scuba_ext = { path = "../common/scuba_ext" }
sshrelay = { path = "../sshrelay" }
failure_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
hostname = { 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"
bytes = { version = "0.4", features = ["serde"] }
clap = "2.33"
dns-lookup = "1.0"
futures = { version = "0.3", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1" }
libc = "0.2"
openssl = "0.10"
slog = { version = "2.5", features = ["max_level_debug"] }
slog-term = "2.4.2"
tokio = "0.1"
tokio-compat = "0.1"
tokio-io = "0.1"
tokio-openssl = "0.2"
users = "0.9"