sapling/eden/mononoke
Daniel Xu 5715e58fce Add version specificiation to internal dependencies
Summary:
Lots of generated code in this diff. Only code change was in
`common/rust/cargo_from_buck/lib/cargo_generator.py`.

Path/git-only dependencies (ie `mydep = { path = "../foo/bar" }`) are not
publishable to crates.io. However, we are allowed to specify both a path/git
_and_ a version. When building locally, the path/git is chosen. When publishing,
the version on crates.io is chosen.

See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations .

Note that I understand that not all autocargo projects are published on crates.io (yet).
The point of this diff is to allow projects to slowly start getting uploaded.
The end goal is autocargo generated `Cargo.toml`s that can be `cargo publish`ed
without further modification.

Reviewed By: lukaspiatkowski

Differential Revision: D26028982

fbshipit-source-id: f7b4c9d4f4dd004727202bd98ab10e201a21e88c
2021-01-25 22:10:24 -08:00
..
alpn mononoke: add a library for ALPN support 2021-01-20 09:16:29 -08:00
benchmark Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
blobimport_lib Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
blobrepo Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
blobrepo_utils Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
blobstore Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
blobstore_sync_queue Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
bonsai_git_mapping Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
bonsai_globalrev_mapping Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
bonsai_hg_mapping Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
bookmarks Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
bulkops Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
cache_warmup Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
changesets Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
cmdlib Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
cmds Make it possible to filter bookmark log entries by timestamp 2021-01-25 05:26:13 -08:00
commit_rewriting Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
common Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
derived_data Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
edenapi_server Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
fastreplay Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
filenodes Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
filestore Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
git Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
gotham_ext Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
hgcli Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
hgproto Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
hook_tailer Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
hooks Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
lfs_import_lib Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
lfs_protocol autocargo: regen 2020-12-08 18:30:24 -08:00
lfs_server Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
load_limiter Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
manifest Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
mercurial Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
metaconfig Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
microwave Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
mononoke_api Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
mononoke_hg_sync_job Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
mononoke_types Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
mutable_counters Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
newfilenodes Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
observability Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
permission_checker Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
phases Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
pushrebase Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
reachabilityindex Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
regenerate_hg_filenodes Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
repo_client Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
repo_import Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
revset Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
scs_server mononoke: log public commits to scribe from scs move/create_bookmark method 2020-12-17 00:19:00 -08:00
segmented_changelog Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
server Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
sshrelay Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
tests Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
time_window_counter Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
tunables Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
unbundle_replay Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
walker Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
Cargo.toml Add version specificiation to internal dependencies 2021-01-25 22:10:24 -08:00
README.md mononoke: add README.md and the missing pieces for supporting cargo (#13) 2020-02-13 00:12:36 -08:00

Mononoke

Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.

Caveat Emptor

Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects.

The version that we provide on GitHub does not build yet.

This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:

  • Full support for a standard cargo build.
  • Open source replacements for Facebook-internal services (blob store, logging etc).

The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future