73 lines
1.5 KiB
TOML
73 lines
1.5 KiB
TOML
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
|
#
|
||
|
|
# When uploading crates to the registry Cargo will automatically
|
||
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
|
# to registry (e.g., crates.io) dependencies.
|
||
|
|
#
|
||
|
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
|
# will likely look very different (and much more reasonable).
|
||
|
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
|
||
|
|
[package]
|
||
|
|
edition = "2021"
|
||
|
|
rust-version = "1.65"
|
||
|
|
name = "async-stream"
|
||
|
|
version = "0.3.6"
|
||
|
|
authors = ["Carl Lerche <me@carllerche.com>"]
|
||
|
|
build = false
|
||
|
|
autobins = false
|
||
|
|
autoexamples = false
|
||
|
|
autotests = false
|
||
|
|
autobenches = false
|
||
|
|
description = "Asynchronous streams using async & await notation"
|
||
|
|
readme = "README.md"
|
||
|
|
license = "MIT"
|
||
|
|
repository = "https://github.com/tokio-rs/async-stream"
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "async_stream"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "tcp_accept"
|
||
|
|
path = "examples/tcp_accept.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "for_await"
|
||
|
|
path = "tests/for_await.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "spans_preserved"
|
||
|
|
path = "tests/spans_preserved.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "stream"
|
||
|
|
path = "tests/stream.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "try_stream"
|
||
|
|
path = "tests/try_stream.rs"
|
||
|
|
|
||
|
|
[dependencies.async-stream-impl]
|
||
|
|
version = "=0.3.6"
|
||
|
|
|
||
|
|
[dependencies.futures-core]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[dependencies.pin-project-lite]
|
||
|
|
version = "0.2"
|
||
|
|
|
||
|
|
[dev-dependencies.futures-util]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[dev-dependencies.rustversion]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dev-dependencies.tokio]
|
||
|
|
version = "1"
|
||
|
|
features = ["full"]
|
||
|
|
|
||
|
|
[dev-dependencies.trybuild]
|
||
|
|
version = "1"
|