-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
28 lines (23 loc) · 897 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
authors = ["Matthias Endler <matthias-endler@gmx.net>"]
description = "An adaptor that chunks up elements and flushes them after a timeout or when the buffer is full. (Formerly known as tokio-batch.)"
license = "MIT OR Apache-2.0"
name = "futures-batch"
version = "0.6.1"
edition = "2018"
repository = "https://github.com/mre/futures-batch"
[lib]
# https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
bench = false
[dependencies]
futures = { version = "0.3", features = ["async-await"] }
pin-utils = "0.1.0"
futures-timer = "3.0.2"
[dev-dependencies]
tokio = { version = "1.22", features = ["macros", "rt-multi-thread"] }
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
[dev-dependencies.doc-comment]
version = "0.3"
[[bench]]
name = "futures_batch_benchmark"
harness = false