sapling/eden/mononoke/blobstore
David Tolnay aa8152f1dd Make thrift-generated dyn async traits future compatible
Summary:
The use of dyn traits of the Thrift-generated server traits was emitting future compatibility warnings with recent versions of rustc, due to a fixed soundness hole in the trait object system:

```
error: the trait `x_account_aggregator_if::server::XAccountAggregator` cannot be made into an object
     |
     = this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
```

This diff pulls in https://github.com/dtolnay/async-trait/releases/tag/0.1.51 which results in the Thrift-generated server traits no longer hitting the problematic pattern.

Reviewed By: zertosh

Differential Revision: D29979939

fbshipit-source-id: 3e6e976181bfcf35ed453ae681baeb76a634ddda
2021-07-29 16:25:33 -07:00
..
blobstore_stats third-party/rust: remove patch from curl and curl-sys 2021-07-26 15:00:16 -07:00
cacheblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
chaosblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
delayblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
ephemeral_blobstore Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
factory third-party/rust: remove patch from curl and curl-sys 2021-07-26 15:00:16 -07:00
fileblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
if Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
logblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
memblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
multiplexedblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
packblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
prefixblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
readonlyblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
redactedblobstore Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
samplingblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
sqlblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
src Implement BlobstoreKeySource for Prefixer and Counting blobstores 2021-07-19 05:04:34 -07:00
test mononoke/multiplex: remove fail_if_unsure where possible 2021-07-17 17:00:16 -07:00
throttledblob Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
virtually_sharded_blobstore Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00
Cargo.toml Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00