sapling/eden/hg-server/lib
Thomas Orozco 8c83bd9a1c third-party/rust: update Tokio to 1.7.1
Summary: There is a regression in 1.7.0 (which we're on at the moment) so we might as well update.

Reviewed By: zertosh, farnz

Differential Revision: D29358047

fbshipit-source-id: 226393d79c165455d27f7a09b14b40c6a30d96d3
2021-06-25 06:17:41 -07:00
..
async-runtime third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
auth third-party/rust: update time to 0.2 2021-06-03 13:52:54 -07:00
backingstore thrift/lib/rust: update to Bytes 1.x 2021-05-20 09:44:41 -07:00
blackbox Update several rust crate versions 2021-06-17 16:38:19 -07:00
bookmarkstore server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
checkout third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
clidispatch server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
cliparser server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
commitcloudsubscriber Update several rust crate versions 2021-06-17 16:38:19 -07:00
configparser fixup build after os_info crate update 2021-06-18 07:06:14 -07:00
cpython-async third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
cpython-ext Update several rust crate versions 2021-06-17 16:38:19 -07:00
dag third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
dev-logger hg-server: fix autocargo lints 2021-04-23 01:58:57 -07:00
drawdag server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
edenapi third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
edenfs-client third-party/rust: update time to 0.2 2021-06-03 13:52:54 -07:00
encoding server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
fsinfo server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
fsyncglob server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
hg-http server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
hg-metrics server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
hgcommands Update several rust crate versions 2021-06-17 16:38:19 -07:00
hgcommits Update several rust crate versions 2021-06-17 16:38:19 -07:00
hgtime third-party/rust: update time to 0.2 2021-06-03 13:52:54 -07:00
http-client third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
indexedlog server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
io Daily common/rust/cargo_from_buck/bin/autocargo 2021-05-05 04:03:47 -07:00
linelog server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
lz4-pyframe server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
manifest server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
manifest-tree thrift/lib/rust: update to Bytes 1.x 2021-05-20 09:44:41 -07:00
metalog Update several rust crate versions 2021-06-17 16:38:19 -07:00
mincode Update several rust crate versions 2021-06-17 16:38:19 -07:00
minibench server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
minibytes Update several rust crate versions 2021-06-17 16:38:19 -07:00
mpatch server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
mpatch-sys server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
mutationstore server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
nodemap server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
nonblocking server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
pathmatcher update globset from 0.4.5 to 0.4.7 2021-06-15 15:47:49 -07:00
procinfo server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
progress third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
radixbuf server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
renderdag server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
revisionstore third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
revlogindex server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
spawn-ext server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
streams third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
taggederror server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
taggederror-util server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
third-party lib: remove unused C code 2021-04-29 14:45:12 -07:00
thrift-types Resolve bare_trait_objects warnings in path components 2021-05-19 22:03:56 -07:00
tracing-analyzer Update several rust crate versions 2021-06-17 16:38:19 -07:00
tracing-collector Update several rust crate versions 2021-06-17 16:38:19 -07:00
tracing-runtime-callsite server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
treestate Update itertools 0.8.2 to 0.10.1 2021-06-22 04:09:00 -07:00
types Update several rust crate versions 2021-06-17 16:38:19 -07:00
util server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
version server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
vfs third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
vlqencoding server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
workingcopy server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
xdiff server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
xdiff-sys server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
zstdelta rust: revert zstd crates 2021-06-11 04:39:54 -07:00
zstore Update several rust crate versions 2021-06-17 16:38:19 -07:00
CMakeLists.txt server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
README.md server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
run_cargo_tests.py server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00

lib

Any native code (C/C++/Rust) that Mercurial (either core or extensions) depends on should go here. Python code, or native code that depends on Python code (e.g. #include <Python.h> or use cpython) is disallowed.

As we start to convert more of Mercurial into Rust, and write new paths entrirely in native code, we'll want to limit our dependency on Python, which is why this barrier exists.

See also hgext/extlib/README.md, mercurial/cext/README.mb.

How do I choose between lib and extlib (and cext)?

If your code is native and doesn't depend on Python (awesome!), it goes here.

Otherwise, put it in hgext/extlib (if it's only used by extensions) or mercurial/cext (if it's used by extensions or core).