mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
91358f3716
Summary: BonsaiChangesets are rarely mutated, and their maps are stored in sorted order, so we can use `SortedVectorMap` to load them more efficiently. In the cases where mutable maps of filechanges are needed, we can use `BTreeMap` during the mutation and then convert them to `SortedVectorMap` to store them. Reviewed By: mitrandir77 Differential Revision: D25615279 fbshipit-source-id: 796219c1130df5cb025952bb61002e8d2ae898f4
72 lines
4.3 KiB
TOML
72 lines
4.3 KiB
TOML
[package]
|
|
name = "mononoke_api"
|
|
version = "0.1.0"
|
|
authors = ["Facebook"]
|
|
edition = "2018"
|
|
license = "GPLv2+"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
async-trait = "0.1.45"
|
|
blame = { version = "0.1.0", path = "../derived_data/blame" }
|
|
blobrepo = { version = "0.1.0", path = "../blobrepo" }
|
|
blobrepo_factory = { version = "0.1.0", path = "../blobrepo/factory" }
|
|
blobrepo_hg = { version = "0.1.0", path = "../blobrepo/blobrepo_hg" }
|
|
blobstore = { version = "0.1.0", path = "../blobstore" }
|
|
blobstore_factory = { version = "0.1.0", path = "../blobstore/factory" }
|
|
bookmarks = { version = "0.1.0", path = "../bookmarks" }
|
|
bookmarks_movement = { version = "0.1.0", path = "../bookmarks/bookmarks_movement" }
|
|
bytes = { version = "0.5", features = ["serde"] }
|
|
cached_config = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
changeset_info = { version = "0.1.0", path = "../derived_data/changeset_info" }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
cloned = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
context = { version = "0.1.0", path = "../server/context" }
|
|
cross_repo_sync = { version = "0.1.0", path = "../commit_rewriting/cross_repo_sync" }
|
|
derived_data = { version = "0.1.0", path = "../derived_data" }
|
|
fastlog = { version = "0.1.0", path = "../derived_data/fastlog" }
|
|
fbinit = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
filestore = { version = "0.1.0", path = "../filestore" }
|
|
fsnodes = { version = "0.1.0", path = "../derived_data/fsnodes" }
|
|
futures = { version = "0.3.13", features = ["async-await", "compat"] }
|
|
futures-old = { package = "futures", version = "0.1.31" }
|
|
futures_stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
futures_watchdog = { version = "0.1.0", path = "../common/futures_watchdog" }
|
|
hook_manager_factory = { version = "0.1.0", path = "../hooks/hook_manager_factory" }
|
|
hooks = { version = "0.1.0", path = "../hooks" }
|
|
itertools = "0.8"
|
|
live_commit_sync_config = { version = "0.1.0", path = "../commit_rewriting/live_commit_sync_config" }
|
|
manifest = { version = "0.1.0", path = "../manifest" }
|
|
maplit = "1.0"
|
|
mercurial_derived_data = { version = "0.1.0", path = "../derived_data/mercurial_derived_data" }
|
|
mercurial_types = { version = "0.1.0", path = "../mercurial/types" }
|
|
metaconfig_parser = { version = "0.1.0", path = "../metaconfig/parser" }
|
|
metaconfig_types = { version = "0.1.0", path = "../metaconfig/types" }
|
|
mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
|
|
mutable_counters = { version = "0.1.0", path = "../mutable_counters" }
|
|
permission_checker = { version = "0.1.0", path = "../permission_checker" }
|
|
reachabilityindex = { version = "0.1.0", path = "../reachabilityindex" }
|
|
regex = "1.4.2"
|
|
repo_read_write_status = { version = "0.1.0", path = "../repo_client/repo_read_write_status" }
|
|
revset = { version = "0.1.0", path = "../revset" }
|
|
segmented_changelog = { version = "0.1.0", path = "../segmented_changelog" }
|
|
skiplist = { version = "0.1.0", path = "../reachabilityindex/skiplist" }
|
|
slog = { version = "2.5", features = ["max_level_debug"] }
|
|
sorted_vector_map = { 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" }
|
|
synced_commit_mapping = { version = "0.1.0", path = "../commit_rewriting/synced_commit_mapping" }
|
|
thiserror = "1.0"
|
|
tunables = { version = "0.1.0", path = "../tunables" }
|
|
unodes = { version = "0.1.0", path = "../derived_data/unodes" }
|
|
warm_bookmarks_cache = { version = "0.1.0", path = "../bookmarks/warm_bookmarks_cache" }
|
|
xdiff = { version = "0.1.0", path = "../../scm/lib/xdiff" }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.5"
|
|
cross_repo_sync_test_utils = { version = "0.1.0", path = "../commit_rewriting/cross_repo_sync/test_utils" }
|
|
fbinit-tokio-02 = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
fixtures = { version = "0.1.0", path = "../tests/fixtures" }
|
|
tests_utils = { version = "0.1.0", path = "../tests/utils" }
|