64c19dcf5e
Summary: We can use the "never_type" feature to enable more general use of the `!` type, which indicates that the type state is impossible (ie, `!` has no values). Not only is this more expressive than using - say - `()`, it also allows irrefutable matching against a result (`let Ok(x) = ...`), since the compiler knows that `Err(!)` can never happen. Reviewed By: sid0 Differential Revision: D5849877 fbshipit-source-id: 48c14f9c2042fb8168eb1dd308fd3a79c9ed0fc2 |
||
---|---|---|
async-compression/src | ||
asyncmemo/src | ||
blobrepo/src | ||
blobstore | ||
bookmarks | ||
cmds | ||
eden-server/src | ||
futures-ext/src | ||
heads | ||
hgcli/src | ||
hgproto/src | ||
hooks/src | ||
mercurial/src | ||
mercurial-bundles/src | ||
mercurial-graphql/src | ||
mercurial-types | ||
metaconfig/src | ||
py_tar_utils | ||
repoinfo/src | ||
revset/src | ||
server/src | ||
sshrelay/src | ||
tests | ||
vfs/src | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
rustfmt.toml |
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 such as Eden.
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.