mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
6b16e16fa9
Summary: Convert `BlobRepo` to a `facet::container`. This will allow it to be built from an appropriate facet factory. This only changes the definition of the structure: we still use `blobrepo_factory` to construct it. The main difference is in the types of the attributes, which change from `Arc<dyn Trait>` to `Arc<dyn Trait + Send + Sync + 'static`>, specified by the `ArcTrait` alias generated by the `#[facet::facet]` macro. Reviewed By: StanislavGlebik Differential Revision: D27169437 fbshipit-source-id: 3496b6ee2f0d1e72a36c9e9eb9bd3d0bb7beba8b
42 lines
2.0 KiB
TOML
42 lines
2.0 KiB
TOML
[package]
|
|
name = "bonsai_hg_mapping"
|
|
version = "0.1.0"
|
|
authors = ["Facebook"]
|
|
edition = "2018"
|
|
license = "GPLv2+"
|
|
|
|
[[test]]
|
|
name = "bonsai_hg_mapping_test"
|
|
path = "test/main.rs"
|
|
|
|
[dependencies]
|
|
abomonation = "0.7"
|
|
abomonation_derive = "0.5"
|
|
anyhow = "1.0"
|
|
async-trait = "0.1.45"
|
|
auto_impl = "0.4"
|
|
bonsai_hg_mapping_entry_thrift = { version = "0.1.0", path = "if" }
|
|
bytes = { version = "0.5", features = ["serde"] }
|
|
cachelib = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
caching_ext = { version = "0.1.0", path = "../common/rust/caching_ext" }
|
|
context = { version = "0.1.0", path = "../server/context" }
|
|
facet = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
fbinit = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "master" }
|
|
futures = { version = "0.3.13", features = ["async-await", "compat"] }
|
|
memcache = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
mercurial_types = { version = "0.1.0", path = "../mercurial/types" }
|
|
mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
|
|
rendezvous = { version = "0.1.0", path = "../common/rendezvous" }
|
|
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
sql_construct = { version = "0.1.0", path = "../common/sql_construct" }
|
|
sql_ext = { version = "0.1.0", path = "../common/rust/sql_ext" }
|
|
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
thiserror = "1.0"
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.5"
|
|
fbinit-tokio-02 = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
mercurial_types-mocks = { version = "0.1.0", path = "../mercurial/types/mocks" }
|
|
mononoke_types-mocks = { version = "0.1.0", path = "../mononoke_types/mocks" }
|