mirror of https://github.com/stjepang/smol
69 lines
1.8 KiB
TOML
69 lines
1.8 KiB
TOML
[package]
|
|
name = "smol"
|
|
version = "0.3.0"
|
|
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
|
edition = "2018"
|
|
description = "A small and fast async runtime"
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/stjepang/smol"
|
|
homepage = "https://github.com/stjepang/smol"
|
|
documentation = "https://docs.rs/smol"
|
|
keywords = ["async", "await", "future", "io", "networking"]
|
|
categories = ["asynchronous", "concurrency", "network-programming"]
|
|
readme = "README.md"
|
|
|
|
[features]
|
|
default = []
|
|
tokio02 = ["tokio"] # Optional feature for compatibility with tokio-based libraries.
|
|
|
|
[dependencies]
|
|
async-channel = "1.1.1"
|
|
async-executor = "0.1.1"
|
|
async-io = "0.1.5"
|
|
blocking = "0.5.0"
|
|
easy-parallel = "3.1.0"
|
|
futures-lite = "0.1.8"
|
|
num_cpus = "1.13.0"
|
|
|
|
[dependencies.tokio]
|
|
version = "0.2.22"
|
|
default-features = false
|
|
features = ["rt-threaded"]
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1.0.31"
|
|
async-channel = "1.1.1"
|
|
async-dup = "1.2.1"
|
|
async-h1 = "2.1.0"
|
|
async-native-tls = "0.3.3"
|
|
async-net = "0.1.1"
|
|
async-std = "1.6.2"
|
|
async-tungstenite = { version = "0.7.1", features = ["async-native-tls"] }
|
|
base64 = "0.12.3"
|
|
ctrlc = "3.1.5"
|
|
futures = "0.3.5"
|
|
http = "0.2.1"
|
|
http-types = "2.3.0"
|
|
hyper = { version = "0.13.7", default-features = false, features = ["stream"] }
|
|
native-tls = "0.2.4"
|
|
num_cpus = "1.13.0"
|
|
reqwest = "0.10.6"
|
|
scraper = "0.12.0"
|
|
signal-hook = "0.1.16"
|
|
smol = { path = ".", features = ["tokio02"] }
|
|
surf = { version = "2.0.0-alpha.4", default-features = false, features = ["h1-client"] }
|
|
tempfile = "3.1.0"
|
|
tide = "0.12.0"
|
|
tungstenite = "0.11.0"
|
|
url = "2.1.1"
|
|
warp = "0.2.4"
|
|
|
|
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
|
inotify = { version = "0.8.3", default-features = false }
|
|
nix = "0.17.0"
|
|
timerfd = "1.1.1"
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
uds_windows = "0.1.5"
|