sapling/eden/scm/lib
David Tolnay 7f0c6953b8 third-party/rust: Update pin-project 0.4.24 to 0.4.28
Summary:
0.4.24 is incompatible with crates that use `deny(warnings)` on a compiler 1.55.0 or newer.

Example error:

```
error: unused borrow that must be used
  --> common/rust/shed/futures_ext/src/stream/return_remainder.rs:22:1
   |
22 | #[pin_project]
   | ^^^^^^^^^^^^^^
   |
   = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
```

The release notes for 0.4.28 call out this issue. https://github.com/taiki-e/pin-project/releases/tag/v0.4.28

Reviewed By: krallin

Differential Revision: D30858380

fbshipit-source-id: 98e98bcb5a6b795b93ed1efd706a1711f15c57db
2021-09-15 23:01:30 -07:00
..
async-runtime tokio -> 1.10 2021-08-30 15:55:16 -07:00
auth third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
backingstore third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
blackbox Moving thrift targets 2021-08-17 06:49:44 -07:00
bookmarkstore third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
checkout third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
clidispatch third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
clientinfo Update several rust crate versions 2021-06-17 16:38:19 -07:00
cliparser third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
commitcloudsubscriber log sync reason 2021-09-09 04:31:22 -07:00
configmodel third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
configparser third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
cpython-async tokio -> 1.10 2021-08-30 15:55:16 -07:00
cpython-ext third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
dag third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
dev-logger third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
drawdag autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
eagerepo third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
edenapi third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
edenfs-client Daily common/rust/cargo_from_buck/bin/autocargo 2021-09-08 03:36:02 -07:00
encoding eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
fsinfo Moving thrift targets 2021-08-17 06:49:44 -07:00
fsyncglob third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
hg-http third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
hg-metrics eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
hgcommands third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
hgcommits third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -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 pin-project 0.4.24 to 0.4.28 2021-09-15 23:01:30 -07:00
indexedlog third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
io Daily common/rust/cargo_from_buck/bin/autocargo 2021-07-20 05:00:14 -07:00
linelog Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
lz4-pyframe third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
manifest manifest: make matchers Sync 2021-08-25 23:32:57 -07:00
manifest-tree third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
metalog third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
metrics third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
mincode Update several rust crate versions 2021-06-17 16:38:19 -07:00
minibench autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08: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 eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
mutationstore mutationstore: fix tests 2021-06-28 12:21:26 -07:00
nodemap third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
nonblocking third-party/rust: update futures 2021-03-04 06:42:55 -08:00
pathmatcher pathmatcher: add native UnionMatcher 2021-08-30 11:47:07 -07:00
procinfo Moving thrift targets 2021-08-17 06:49:44 -07:00
progress third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
radixbuf third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
renderdag eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
revisionstore third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
revlogindex revlogindex: revert D30732364 and update tests 2021-09-09 08:29:03 -07:00
spawn-ext Moving thrift targets 2021-08-17 06:49:44 -07:00
status status: introduce status crate 2021-04-27 13:33:24 -07:00
streams third-party/rust: Update pin-project 0.4.24 to 0.4.28 2021-09-15 23:01:30 -07:00
taggederror third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
taggederror-util eden/scm/lib: autogenerate all Cargo.toml files with autocargo 2021-03-05 04:29:49 -08:00
third-party Rename fbthrift_ext to fbthrift_ext-02 2021-09-01 18:28:53 -07:00
thrift-types third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
tracing-analyzer Update several rust crate versions 2021-06-17 16:38:19 -07:00
tracing-collector third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
tracing-runtime-callsite third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
treestate third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
types third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
util Daily common/rust/cargo_from_buck/bin/autocargo 2021-08-25 03:07:04 -07:00
version configparser: fix non-fb dependencies (#45) 2020-08-26 16:31:00 -07:00
vfs Add python bindings to download file endpoint 2021-09-09 18:36:09 -07:00
vlqencoding autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
workingcopy third-party/rust: Update thiserror from 1.0.23 to 1.0.29 2021-09-08 20:49:35 -07:00
xdiff autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
xdiff-sys autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
zstdelta Moving thrift targets 2021-08-17 06:49:44 -07:00
zstore third-party/rust: bump all the tracing packages 2021-09-15 16:52:25 -07:00
CMakeLists.txt clib: remove buffer.[ch] 2020-10-02 10:47:23 -07:00
README.md Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
run_cargo_tests.py config: use Rust graph render as default 2020-10-19 17:07:30 -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).