mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
67 lines
1.4 KiB
TOML
67 lines
1.4 KiB
TOML
[package]
|
|
name = "tests-integration"
|
|
version = "0.1.0"
|
|
authors = ["Tokio Contributors <team@tokio.rs>"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "test-cat"
|
|
|
|
[[bin]]
|
|
name = "test-mem"
|
|
required-features = ["rt-net"]
|
|
|
|
[[bin]]
|
|
name = "test-process-signal"
|
|
required-features = ["rt-process-signal"]
|
|
|
|
[[test]]
|
|
name = "macros_main"
|
|
|
|
[[test]]
|
|
name = "macros_pin"
|
|
|
|
[[test]]
|
|
name = "macros_select"
|
|
|
|
[[test]]
|
|
name = "rt_yield"
|
|
required-features = ["rt", "macros", "sync"]
|
|
|
|
[features]
|
|
# For mem check
|
|
rt-net = ["tokio/rt", "tokio/rt-multi-thread", "tokio/net"]
|
|
# For test-process-signal
|
|
rt-process-signal = ["rt-net", "tokio/process", "tokio/signal"]
|
|
# For testing wasi + rt/macros/sync features
|
|
#
|
|
# This is an explicit feature so we can use `cargo hack` testing single features
|
|
# instead of all possible permutations.
|
|
wasi-rt = ["rt", "macros", "sync"]
|
|
wasi-threads-rt = ["wasi-rt", "rt-multi-thread"]
|
|
|
|
full = [
|
|
"macros",
|
|
"rt",
|
|
"rt-multi-thread",
|
|
|
|
"tokio/full",
|
|
"tokio-test"
|
|
]
|
|
macros = ["tokio/macros"]
|
|
sync = ["tokio/sync"]
|
|
rt = ["tokio/rt"]
|
|
rt-multi-thread = ["rt", "tokio/rt-multi-thread"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.0.0", path = "../tokio" }
|
|
tokio-test = { version = "0.4", path = "../tokio-test", optional = true }
|
|
doc-comment = "0.3.1"
|
|
futures = { version = "0.3.0", features = ["async-await"] }
|
|
bytes = "1.0.0"
|
|
|
|
[lints]
|
|
workspace = true
|