sapling/eden/mononoke/blobstore/throttledblob/Cargo.toml
Simon Farnsworth b1c85aaf4b Switch Blobstore to new-style futures
Summary:
Eventually, we want everything to be `async`/`await`; as a stepping stone in that direction, switch the remaining lobstore traits to new-style futures.

This just pushes the `.compat()` out to old-style futures, but it makes the move to non-'static lifetimes easier, as all the compile errors will relate to lifetime issues.

Reviewed By: krallin

Differential Revision: D22183228

fbshipit-source-id: 3fe3977f4469626f55cbf5636d17fff905039827
2020-06-26 03:54:42 -07:00

17 lines
433 B
TOML

[package]
name = "throttledblob"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/*.rs"]
[dependencies]
async_limiter = { path = "../../common/async_limiter" }
blobstore = { path = ".." }
context = { path = "../../server/context" }
mononoke_types = { path = "../../mononoke_types" }
anyhow = "1.0"
futures = { version = "0.3", features = ["async-await", "compat"] }
ratelimit_meter = "5"