rust-async/Cargo.toml

19 lines
481 B
TOML

[package]
name = "rust-async"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "blocking"
path = "./src/blocking.rs"
[[bin]]
name = "async-tokio"
path = "./src/async-tokio.rs"
[dependencies]
# feature flags are documented in tokio's documentation https://docs.rs/tokio/latest/tokio/#feature-flags
tokio = { version = "1", features = ["rt-multi-thread", "fs", "macros", "time"] }