mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
1a86366f0e
Summary: This diff turns off the support_old_nightly feature of async-trait (https://github.com/dtolnay/async-trait/blob/0.1.24/Cargo.toml#L28-L32) everywhere in fbcode. I am getting ready to remove the feature upstream. It was an alternative implementation of async-trait that produces worse error messages but supports some older toolchains dating back to before stabilization of async/await that the default implementation does not support. This diff includes updating async-trait from 0.1.24 to 0.1.29 to pull in fixes for some patterns that used to work in the support_old_nightly implementation but not the default implementation. Differential Revision: D20805832 fbshipit-source-id: cd34ce55b419b5408f4f7efb4377c777209e4a6d
26 lines
747 B
TOML
26 lines
747 B
TOML
[package]
|
|
name = "repos"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
include = ["thrift_lib.rs"]
|
|
build = "thrift_build.rs"
|
|
|
|
[lib]
|
|
path = "thrift_lib.rs"
|
|
|
|
[build-dependencies]
|
|
thrift_compiler = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
|
|
[dependencies]
|
|
codegen_includer_proc_macro = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
fbthrift = { git = "https://github.com/facebook/fbthrift.git", branch = "master" }
|
|
anyhow = "1.0"
|
|
async-trait = "0.1.29"
|
|
futures = { version = "0.3", features = ["async-await", "compat"] }
|
|
lazy_static = "1.0"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_derive = "1.0"
|
|
thiserror = "1.0"
|