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
This commit is contained in:
David Tolnay 2021-09-15 23:00:08 -07:00 committed by Facebook GitHub Bot
parent 5d1456c346
commit 7f0c6953b8
14 changed files with 14 additions and 14 deletions

View File

@ -19,7 +19,7 @@ http = "0.2"
once_cell = "1.4"
parking_lot = "0.10.2"
paste = "1.0"
pin-project = "0.4"
pin-project = "0.4.28"
regex = "1.4.2"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
async-trait = "0.1.51"
futures = { version = "0.3.13", features = ["async-await", "compat"] }
pin-project = "0.4"
pin-project = "0.4.28"
[dev-dependencies]
anyhow = "1.0"

View File

@ -11,7 +11,7 @@ autoexamples = false
[dependencies]
anyhow = "1.0"
futures = { version = "0.3.13", features = ["async-await", "compat"] }
pin-project = "0.4"
pin-project = "0.4.28"
ratelimit_meter = "5"
thiserror = "1.0.29"
tokio_shim = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }

View File

@ -10,7 +10,7 @@ license = "GPLv2+"
[dependencies]
futures = { version = "0.3.13", features = ["async-await", "compat"] }
maybe-owned = "0.3.4"
pin-project = "0.4"
pin-project = "0.4.28"
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
[patch.crates-io]

View File

@ -33,7 +33,7 @@ mononoke_api_hg = { version = "0.1.0", path = "../mononoke_api_hg" }
mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
nonzero_ext = "0.2"
once_cell = "1.4"
pin-project = "0.4"
pin-project = "0.4.28"
rate_limiting = { version = "0.1.0", path = "../rate_limiting" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }

View File

@ -20,7 +20,7 @@ facet = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust
futures = { version = "0.3.13", features = ["async-await", "compat"] }
itertools = "0.10.1"
mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
pin-project = "0.4"
pin-project = "0.4.28"
sha-1 = "0.8"
sha2 = "0.8"
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }

View File

@ -34,7 +34,7 @@ manifest = { version = "0.1.0", path = "../../manifest" }
mercurial_derived_data = { version = "0.1.0", path = "../../derived_data/mercurial_derived_data" }
mercurial_types = { version = "0.1.0", path = "../../mercurial/types" }
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
pin-project = "0.4"
pin-project = "0.4.28"
rand = { version = "0.7", features = ["small_rng"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
sorted_vector_map = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }

View File

@ -25,7 +25,7 @@ mime = "0.3.14"
openssl = "0.10.35"
percent-encoding = "2.1"
permission_checker = { version = "0.1.0", path = "../permission_checker" }
pin-project = "0.4"
pin-project = "0.4.28"
quiet_stream = { version = "0.1.0", path = "../quiet_stream" }
rate_limiting = { version = "0.1.0", path = "../rate_limiting" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }

View File

@ -37,7 +37,7 @@ mime = "0.3.14"
mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
once_cell = "1.4"
permission_checker = { version = "0.1.0", path = "../permission_checker" }
pin-project = "0.4"
pin-project = "0.4.28"
rand = { version = "0.7", features = ["small_rng"] }
rate_limiting = { version = "0.1.0", path = "../rate_limiting" }
redactedblobstore = { version = "0.1.0", path = "../blobstore/redactedblobstore" }

View File

@ -9,7 +9,7 @@ license = "GPLv2+"
[dependencies]
futures = { version = "0.3.13", features = ["async-await", "compat"] }
pin-project = "0.4"
pin-project = "0.4.28"
tokio = { version = "1.10", features = ["full", "test-util"] }
[patch.crates-io]

View File

@ -43,7 +43,7 @@ metaconfig_types = { version = "0.1.0", path = "../../metaconfig/types" }
mononoke_repo = { version = "0.1.0", path = "../mononoke_repo" }
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
obsolete = { version = "0.1.0", path = "../obsolete" }
pin-project = "0.4"
pin-project = "0.4.28"
pushrebase = { version = "0.1.0", path = "../../pushrebase" }
quickcheck = "0.9"
rate_limiting = { version = "0.1.0", path = "../../rate_limiting" }

View File

@ -45,7 +45,7 @@ mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
openssl = "0.10.35"
percent-encoding = "2.1"
permission_checker = { version = "0.1.0", path = "../../permission_checker" }
pin-project = "0.4"
pin-project = "0.4.28"
qps = { version = "0.1.0", path = "../qps" }
quiet_stream = { version = "0.1.0", path = "../../quiet_stream" }
rate_limiting = { version = "0.1.0", path = "../../rate_limiting" }

View File

@ -21,7 +21,7 @@ once_cell = "1.4"
openssl = "0.10.35"
parking_lot = "0.10.2"
paste = "1.0"
pin-project = "0.4"
pin-project = "0.4.28"
regex = "1.4.2"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
async-trait = "0.1.51"
futures = { version = "0.3.13", features = ["async-await", "compat"] }
pin-project = "0.4"
pin-project = "0.4.28"
[dev-dependencies]
anyhow = "1.0"