sapling/eden/scm/lib
Yipu Miao 96c39a9540 Update eden rust files
Summary: This diff is to update the rust thrift file. Generated by cargo build.

Reviewed By: fanzeyi

Differential Revision: D33289588

fbshipit-source-id: f26a79ae60eadf2671ca0e06bcdb062fe583de17
2022-02-03 13:59:58 -08:00
..
async-runtime/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
atomicfile/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
auth/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
backingstore Re-sync with internal repository 2022-02-03 21:43:02 +00:00
blackbox Re-sync with internal repository 2022-02-03 21:43:02 +00:00
cats/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
checkout/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
clidispatch/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
clientinfo/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
cliparser/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
commitcloudsubscriber/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
configmodel/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
configparser Re-sync with internal repository 2022-02-03 21:43:02 +00:00
cpython-async/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
cpython-ext/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
dag Re-sync with internal repository 2022-02-03 21:43:02 +00:00
debugtop/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
dev-logger Re-sync with internal repository 2022-02-03 21:43:02 +00:00
drawdag/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
eagerepo/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
edenapi Re-sync with internal repository 2022-02-03 21:43:02 +00:00
edenfs-client/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
encoding/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
fsinfo Re-sync with internal repository 2022-02-03 21:43:02 +00:00
fsyncglob/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
gitstore Re-sync with internal repository 2022-02-03 21:43:02 +00:00
hg-http/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
hg-metrics/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
hgcommands/src tracing: disable colors if not tty or colors config disabled 2022-02-03 13:55:08 -08:00
hgcommits/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
hgtime/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
http-client/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
indexedlog Re-sync with internal repository 2022-02-03 21:43:02 +00:00
insta_ext Re-sync with internal repository 2022-02-03 21:43:02 +00:00
io/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
linelog Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
lz4-pyframe Re-sync with internal repository 2022-02-03 21:43:02 +00:00
manifest/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
manifest-tree Re-sync with internal repository 2022-02-03 21:43:02 +00:00
metalog/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
metrics Re-sync with internal repository 2022-02-03 21:43:02 +00:00
mincode/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
minibench/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
minibytes Re-sync with internal repository 2022-02-03 21:43:02 +00:00
mpatch/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
mpatch-sys Re-sync with internal repository 2022-02-03 21:43:02 +00:00
mutationstore/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
nodemap/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
nonblocking/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
pathhistory/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
pathmatcher/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
pprint/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
procinfo Re-sync with internal repository 2022-02-03 21:43:02 +00:00
progress Re-sync with internal repository 2022-02-03 21:43:02 +00:00
radixbuf Re-sync with internal repository 2022-02-03 21:43:02 +00:00
refencode/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
renderdag/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
repo/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
revisionstore Re-sync with internal repository 2022-02-03 21:43:02 +00:00
revlogindex/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
runlog/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
spawn-ext Re-sync with internal repository 2022-02-03 21:43:02 +00:00
status/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
storemodel/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
streams/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
taggederror/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
taggederror-util/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
third-party remove fbthrift_socket-02 references 2021-11-05 06:30:31 -07:00
thrift-types Update eden rust files 2022-02-03 13:59:58 -08:00
tracing-analyzer/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
tracing-collector/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
tracing-runtime-callsite/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
tracing-sampler/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
treestate/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
types/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
util/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
version/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
vfs/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
vlqencoding Re-sync with internal repository 2022-02-03 21:43:02 +00:00
workingcopy/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
xdiff Re-sync with internal repository 2022-02-03 21:43:02 +00:00
xdiff-sys Re-sync with internal repository 2022-02-03 21:43:02 +00:00
zstdelta/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
zstore/src Re-sync with internal repository 2022-02-03 21:43:02 +00:00
CMakeLists.txt codemod: update license headers 2022-01-05 14:43:32 -08:00
README.md Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
run_cargo_tests.py codemod: update license headers 2022-01-05 14:43:32 -08: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).