sapling/eden/hg-server/lib
Alex Hornby 2613ad5742 remove generated code for hgclientconf
Summary:
Point the thrift-types at the rust target, no need for the checked in generated code anymore

Saves generation, gives quicker signal on thrift changes (no codegen step), and stops thrift lib vs generated thrift code mismatches

Reviewed By: yancouto

Differential Revision: D33843588

fbshipit-source-id: 856faeb16dc0a2a42f2f07fd3005079a01b6e7bd
2022-01-31 10:34:32 -08:00
..
async-runtime Update tokio to 1.15 2022-01-25 02:05:10 -08:00
auth Update indexmap to 1.8.0 2022-01-31 07:48:41 -08:00
backingstore third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
blackbox Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
bookmarkstore third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
checkout Update tokio to 1.15 2022-01-25 02:05:10 -08:00
clidispatch third-party/rust: Re-run autocargo after tracing update 2021-12-03 13:06:53 -08:00
cliparser third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
commitcloudsubscriber autocargo: ctp: depend on pxl instead of re-declaring its crates 2022-01-05 06:26:54 -08:00
configparser Update indexmap to 1.8.0 2022-01-31 07:48:41 -08:00
cpython-async Update tokio to 1.15 2022-01-25 02:05:10 -08:00
cpython-ext Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
dag Update indexmap to 1.8.0 2022-01-31 07:48:41 -08:00
dev-logger third-party/rust: Re-run autocargo after tracing update 2021-12-03 13:06:53 -08:00
drawdag Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
edenapi Update tokio to 1.15 2022-01-25 02:05:10 -08:00
edenfs-client Update tokio to 1.15 2022-01-25 02:05:10 -08:00
encoding Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
fsinfo third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
fsyncglob third-party/rust: Re-run autocargo after tracing update 2021-12-03 13:06:53 -08:00
hg-http third-party/rust: Re-run autocargo after tracing update 2021-12-03 13:06:53 -08:00
hg-metrics Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
hgcommands Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
hgcommits Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
hgtime Remove imports of prelude items 2021-10-21 20:06:41 -07:00
http-client Update tokio to 1.15 2022-01-25 02:05:10 -08:00
indexedlog third-party/rust: Re-run autocargo after tracing update 2021-12-03 13:06:53 -08:00
io Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08: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 third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
manifest-tree Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
metalog third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08: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 third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
nodemap third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
nonblocking Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
pathmatcher third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
procinfo Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
progress Update tokio to 1.15 2022-01-25 02:05:10 -08: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 Update tokio to 1.15 2022-01-25 02:05:10 -08:00
revlogindex Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
spawn-ext Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
streams Update tokio to 1.15 2022-01-25 02:05:10 -08:00
taggederror third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
taggederror-util third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
third-party Even more 2021 edition Cargo.tomls 2021-10-21 19:39:32 -07:00
thrift-types remove generated code for hgclientconf 2022-01-31 10:34:32 -08:00
tracing-analyzer update Diem crates to release 1.5 2021-11-03 01:46:13 -07:00
tracing-collector Update indexmap to 1.8.0 2022-01-31 07:48:41 -08:00
tracing-runtime-callsite Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08:00
treestate Update itertools to 0.10.3 2021-12-08 08:55:53 -08:00
types third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
util third-party/rust: Update anyhow from 1.0.48 to 1.0.51 2021-11-29 14:14:17 -08:00
version Even more 2021 edition Cargo.tomls 2021-10-21 19:39:32 -07:00
vfs Update tokio to 1.15 2022-01-25 02:05:10 -08:00
vlqencoding Regenerate Cargo.tomls to 2021 edition 2021-10-21 12:40:28 -07:00
workingcopy Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08: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 Upgrade to parking_log 0.11.2 and add feature send_guard 2021-12-15 14:37:44 -08: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).