sapling/eden/hg-server/lib
Gus Wynn 87a09132dc tokio -> 1.10
Reviewed By: dtolnay

Differential Revision: D30647831

fbshipit-source-id: 7094873ec5cfbf80cd7c3564fdd011268053b0d3
2021-08-30 15:55:16 -07:00
..
async-runtime tokio -> 1.10 2021-08-30 15:55:16 -07:00
auth Daily common/rust/cargo_from_buck/bin/autocargo 2021-08-25 03:07:04 -07:00
backingstore Moving thrift targets 2021-08-17 06:49:44 -07:00
blackbox Moving thrift targets 2021-08-17 06:49:44 -07:00
bookmarkstore server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
checkout tokio -> 1.10 2021-08-30 15:55:16 -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 Daily common/rust/cargo_from_buck/bin/autocargo 2021-08-25 03:07:04 -07:00
cpython-async tokio -> 1.10 2021-08-30 15:55:16 -07:00
cpython-ext Moving thrift targets 2021-08-17 06:49:44 -07:00
dag tokio -> 1.10 2021-08-30 15:55:16 -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 tokio -> 1.10 2021-08-30 15:55:16 -07:00
edenfs-client Moving thrift targets 2021-08-17 06:49:44 -07:00
encoding server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
fsinfo Moving thrift targets 2021-08-17 06:49:44 -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 Moving thrift targets 2021-08-17 06:49:44 -07:00
hgcommits Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
hgtime third-party/rust: update time to 0.2 2021-06-03 13:52:54 -07:00
http-client tokio -> 1.10 2021-08-30 15:55:16 -07:00
indexedlog Moving thrift targets 2021-08-17 06:49:44 -07:00
io Daily common/rust/cargo_from_buck/bin/autocargo 2021-07-20 05:00:14 -07:00
linelog server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
lz4-pyframe Moving thrift targets 2021-08-17 06:49:44 -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 Moving thrift targets 2021-08-17 06:49:44 -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 Moving thrift targets 2021-08-17 06:49:44 -07:00
progress tokio -> 1.10 2021-08-30 15:55:16 -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 tokio -> 1.10 2021-08-30 15:55:16 -07:00
revlogindex Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
spawn-ext Moving thrift targets 2021-08-17 06:49:44 -07:00
streams tokio -> 1.10 2021-08-30 15:55:16 -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 Daily common/rust/cargo_from_buck/bin/autocargo 2021-08-25 03:07:04 -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 Daily common/rust/cargo_from_buck/bin/autocargo 2021-08-25 03:07:04 -07:00
version server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
vfs tokio -> 1.10 2021-08-30 15:55:16 -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 Moving thrift targets 2021-08-17 06:49:44 -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).