-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
40 lines (31 loc) · 1.03 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "tokio-io-utility"
version = "0.7.6"
edition = "2021"
rust-version = "1.60"
authors = ["Jiahao XU <[email protected]>"]
license = "MIT"
description = "Some helper functions for tokio::io."
repository = "https://github.com/openssh-rust/tokio-io-utility.git"
keywords = ["tokio", "async"]
categories = ["asynchronous"]
# docs.rs-specific configuration, shamelessly copied from
# https://stackoverflow.com/a/61417700/8375400.
#
# To test locally, use ` ./build_doc.sh`
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `tokio_io_utility_docsrs`
rustdoc-args = ["--cfg", "tokio_io_utility_docsrs"]
[features]
read-exact-to-bytes = ["bytes"]
[dependencies]
tokio = { version = "1.0", features = ["io-util"] }
bytes = { version = "1.2.1", optional = true }
[dev-dependencies]
tokio-pipe = "0.2.5"
# Do not enable feature macro here!
# It will cause the compilation of tests with address sanitizer to fail.
tokio = { version = "1", features = ["rt"] }
rayon = "1.5.1"