sapling/eden/hg-server/lib
Durham Goode e09e6065f3 Update cpython to 0.7
Summary:
The latest version of cpython has a function we need. Let's update.
This also points us back at the main cpython repo, instead of quark-zju's personal
repo.

Reviewed By: quark-zju

Differential Revision: D32370604

fbshipit-source-id: 345883d916f10d131bc8c7bd1f9520514a07e039
2021-11-12 14:32:26 -08:00
..
async-runtime Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
auth Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
backingstore Daily common/rust/cargo_from_buck/bin/autocargo 2021-11-01 04:36:50 -07:00
blackbox update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
bookmarkstore Remove imports of prelude items 2021-10-21 20:06:41 -07:00
checkout Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
clidispatch Remove imports of prelude items 2021-10-21 20:06:41 -07:00
cliparser Update cpython to 0.7 2021-11-12 14:32:26 -08:00
commitcloudsubscriber update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
configparser update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
cpython-async Update cpython to 0.7 2021-11-12 14:32:26 -08:00
cpython-ext Update cpython to 0.7 2021-11-12 14:32:26 -08:00
dag Remove imports of prelude items 2021-10-21 20:06:41 -07:00
dev-logger Update tracing-subscriber crate to 0.3.1 2021-11-09 09:34:19 -08:00
drawdag Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
edenapi update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
edenfs-client Remove imports of prelude items 2021-10-21 20:06:41 -07:00
encoding Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
fsinfo Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
fsyncglob Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
hg-http Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
hg-metrics Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
hgcommands Update cpython to 0.7 2021-11-12 14:32:26 -08:00
hgcommits Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
hgtime Remove imports of prelude items 2021-10-21 20:06:41 -07:00
http-client update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
indexedlog update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
io Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
linelog server: copy hg to a new hg-server directory 2021-04-09 10:09:06 -07:00
lz4-pyframe Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
manifest Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
manifest-tree Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
metalog Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
mincode Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
minibench Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
minibytes Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
mpatch Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
mpatch-sys Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
mutationstore Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
nodemap Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
nonblocking Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
pathmatcher Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
procinfo Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
progress Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
radixbuf Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
renderdag Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
revisionstore Daily common/rust/cargo_from_buck/bin/autocargo 2021-11-05 03:34:16 -07:00
revlogindex Remove imports of prelude items 2021-10-21 20:06:41 -07:00
spawn-ext Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
streams Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
taggederror Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
taggederror-util Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
third-party Even more 2021 edition Cargo.tomls 2021-10-21 19:39:32 -07:00
thrift-types Even more 2021 edition Cargo.tomls 2021-10-21 19:39:32 -07:00
tracing-analyzer update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
tracing-collector Update tracing-subscriber crate to 0.3.1 2021-11-09 09:34:19 -08:00
tracing-runtime-callsite Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
treestate Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
types update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
util Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
version Even more 2021 edition Cargo.tomls 2021-10-21 19:39:32 -07:00
vfs Add rayon feature to DashMap crate 2021-10-21 17:10:56 -07:00
vlqencoding Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
workingcopy Remove imports of prelude items 2021-10-21 20:06:41 -07:00
xdiff Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
xdiff-sys Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
zstdelta Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
zstore Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -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).