sapling/eden/mononoke/bonsai_globalrev_mapping
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
..
globalrev_pushrebase_hook 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
schemas Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
src blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
test rust: async shed/sql Transaction apis 2021-03-04 01:52:42 -08:00
Cargo.toml Make thrift-generated dyn async traits future compatible 2021-07-29 16:25:33 -07:00