mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
b1c85aaf4b
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
17 lines
433 B
TOML
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"
|