@@ -4,44 +4,59 @@ edition = "2018"
44version = " 0.1.0"
55authors = [' Facebook' ]
66license = " GPLv2+"
7- include = [" src/**/*.rs" ]
7+ include = [" src/lib.rs" , " src/main.rs" , " src/tests.rs" ]
8+
9+ [lib ]
10+ path = " src/lib.rs"
11+
12+ [[bin ]]
13+ name = " backsyncer_cmd"
14+ path = " src/main.rs"
815
916[dependencies ]
1017blobrepo = { path = " ../../blobrepo" }
1118blobrepo_factory = { path = " ../../blobrepo/factory" }
19+ blobrepo_hg = { path = " ../../blobrepo/blobrepo_hg" }
1220blobstore_factory = { path = " ../../blobstore/factory" }
1321bookmarks = { path = " ../../bookmarks" }
22+ cmdlib = { path = " ../../cmdlib" }
23+ cmdlib_x_repo = { path = " ../../cmdlib/x_repo" }
1424context = { path = " ../../server/context" }
1525cross_repo_sync = { path = " ../cross_repo_sync" }
26+ live_commit_sync_config = { path = " ../live_commit_sync_config" }
27+ mercurial_types = { path = " ../../mercurial/types" }
1628metaconfig_types = { path = " ../../metaconfig/types" }
1729mononoke_types = { path = " ../../mononoke_types" }
1830mutable_counters = { path = " ../../mutable_counters" }
31+ scuba_ext = { path = " ../../common/scuba_ext" }
1932sql_construct = { path = " ../../common/sql_construct" }
2033sql_ext = { path = " ../../common/rust/sql_ext" }
2134synced_commit_mapping = { path = " ../synced_commit_mapping" }
35+ cached_config = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
2236cloned = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
37+ fbinit = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
2338sql = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
39+ stats = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
2440anyhow = " 1.0"
41+ clap = " 2.33"
2542futures = { version = " 0.3.5" , features = [" async-await" , " compat" ] }
2643futures-old = { package = " futures" , version = " 0.1" }
2744slog = { version = " 2.5" , features = [" max_level_debug" ] }
2845thiserror = " 1.0"
46+ tokio = { version = " =0.2.13" , features = [" full" ] }
2947
3048[dev-dependencies ]
31- blobrepo_hg = { path = " ../../blobrepo/blobrepo_hg" }
3249blobrepo_override = { path = " ../../blobrepo/override" }
3350blobstore = { path = " ../../blobstore" }
3451bookmark_renaming = { path = " ../bookmark_renaming" }
3552dbbookmarks = { path = " ../../bookmarks/dbbookmarks" }
3653filestore = { path = " ../../filestore" }
3754fixtures = { path = " ../../tests/fixtures" }
3855manifest = { path = " ../../manifest" }
39- mercurial_types = { path = " ../../mercurial/types" }
4056movers = { path = " ../movers" }
4157revset = { path = " ../../revset" }
4258skiplist = { path = " ../../reachabilityindex/skiplist" }
4359tests_utils = { path = " ../../tests/utils" }
44- fbinit = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
4560futures_ext = { git = " https://github.com/facebookexperimental/rust-shed.git" , branch = " master" }
4661maplit = " 1.0"
4762pretty_assertions = " 0.6"
0 commit comments