Document SinkExt and other futures traits on docs.rs (#3271)

These are extremely hard to find if you don't already know they exist.
This commit is contained in:
Joshua Nelson 2020-12-14 10:28:36 -05:00 committed by GitHub
parent a7833e3007
commit 48961fac89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,8 @@ time = ["tokio/time","slab"]
io = []
rt = ["tokio/rt"]
__docs_rs = ["futures-util"]
[dependencies]
tokio = { version = "1.0.0", path = "../tokio" }
@ -41,6 +43,7 @@ bytes = "0.6.0"
futures-core = "0.3.0"
futures-sink = "0.3.0"
futures-io = { version = "0.3.0", optional = true }
futures-util = { version = "0.3.0", optional = true }
log = "0.4"
pin-project-lite = "0.2.0"
slab = { version = "0.4.1", optional = true } # Backs `DelayQueue`