2020-06-12 10:22:08 -07:00
|
|
|
[package]
|
2023-06-11 20:59:10 -07:00
|
|
|
name = "tower-batch-control"
|
2023-07-02 16:08:40 -07:00
|
|
|
version = "0.2.41-beta.3"
|
2023-06-13 01:46:01 -07:00
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
|
|
|
|
description = "Tower middleware for batch request processing"
|
|
|
|
# # Legal
|
|
|
|
#
|
|
|
|
# This licence is deliberately different to the rest of Zebra.
|
|
|
|
#
|
|
|
|
# This code was modified from a 2019 version of:
|
|
|
|
# https://github.com/tower-rs/tower/tree/master/tower/src/buffer
|
2020-06-12 10:22:08 -07:00
|
|
|
license = "MIT"
|
2023-06-13 01:46:01 -07:00
|
|
|
repository = "https://github.com/ZcashFoundation/zebra"
|
Enforce Rust edition 2021 (#3332)
* Rust edition 2021: zebra-network, cargo fix --edition and clippy --fix
* Rust edition 2021: zebra-chain, cargo fix --edition
* Rust edition 2021: tower-batch, cargo fix --edition
* Rust edition 2021: tower-fallback, cargo fix --edition
* Rust edition 2021: zebra-client, cargo fix --edition
* Rust edition 2021: zebra-consensus, cargo fix --edition
* Rust edition 2021: zebra-rpc, cargo fix --edition
* Rust edition 2021: zebra-state, cargo fix --edition
* Rust edition 2021: zebra-state, cargo fix --edition
* Rust edition 2021: zebra-test, cargo fix --edition
* Rust edition 2021: zebra-utils, cargo fix --edition
* Rust edition 2021: zebrad, cargo fix --edition
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-14 04:10:18 -08:00
|
|
|
edition = "2021"
|
2020-06-12 10:22:08 -07:00
|
|
|
|
2023-06-13 01:46:01 -07:00
|
|
|
# TODO: decide if we want to use the Zebra readme and home page
|
|
|
|
#readme = "../README.md"
|
|
|
|
#homepage = "https://zfnd.org/zebra/"
|
|
|
|
# crates.io is limited to 5 keywords and categories
|
|
|
|
keywords = ["tower", "batch"]
|
|
|
|
# Must be one of <https://crates.io/category_slugs>
|
|
|
|
categories = ["algorithms", "asynchronous"]
|
|
|
|
|
2020-06-12 10:22:08 -07:00
|
|
|
[dependencies]
|
2023-04-02 21:00:53 -07:00
|
|
|
futures = "0.3.28"
|
2023-04-02 16:28:02 -07:00
|
|
|
futures-core = "0.3.28"
|
2023-07-05 00:08:31 -07:00
|
|
|
pin-project = "1.1.2"
|
2023-03-07 06:22:51 -08:00
|
|
|
rayon = "1.7.0"
|
2023-07-02 22:39:10 -07:00
|
|
|
tokio = { version = "1.29.1", features = ["time", "sync", "tracing", "macros"] }
|
2023-05-04 17:30:46 -07:00
|
|
|
tokio-util = "0.7.8"
|
2022-06-21 10:12:19 -07:00
|
|
|
tower = { version = "0.4.13", features = ["util", "buffer"] }
|
2022-10-12 23:46:27 -07:00
|
|
|
tracing = "0.1.37"
|
2021-02-17 02:01:32 -08:00
|
|
|
tracing-futures = "0.2.5"
|
2020-06-15 23:40:11 -07:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-09-26 15:23:59 -07:00
|
|
|
color-eyre = "0.6.2"
|
2022-08-03 16:42:50 -07:00
|
|
|
# This is a transitive dependency via color-eyre.
|
|
|
|
# Enable a feature that makes tinyvec compile much faster.
|
2022-08-04 15:03:24 -07:00
|
|
|
tinyvec = { version = "1.6.0", features = ["rustc_1_55"] }
|
2022-08-03 16:42:50 -07:00
|
|
|
|
2023-07-12 16:59:49 -07:00
|
|
|
ed25519-zebra = "4.0.1"
|
2023-06-27 08:32:30 -07:00
|
|
|
rand = "0.8.5"
|
2022-06-14 23:43:20 -07:00
|
|
|
|
2023-07-02 22:39:10 -07:00
|
|
|
tokio = { version = "1.29.1", features = ["full", "tracing", "test-util"] }
|
2021-05-17 03:47:46 -07:00
|
|
|
tokio-test = "0.4.2"
|
2021-03-24 09:28:25 -07:00
|
|
|
tower-fallback = { path = "../tower-fallback/" }
|
2021-03-15 10:21:29 -07:00
|
|
|
tower-test = "0.4.0"
|
2022-06-14 23:43:20 -07:00
|
|
|
|
2022-07-17 15:41:18 -07:00
|
|
|
zebra-consensus = { path = "../zebra-consensus/" }
|
2021-03-24 09:28:25 -07:00
|
|
|
zebra-test = { path = "../zebra-test/" }
|