[package]
name = "may"
version = "0.3.19"
edition = "2018"
authors = ["Xudong Huang <huangxu008@hotmail.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/Xudong-Huang/may.git"
homepage = "https://github.com/Xudong-Huang/may.git"
documentation = "https://docs.rs/may"
description = "Rust Stackful Coroutine Library"
readme = "README.md"
keywords = ["coroutine", "async", "multi-thread"]
categories = ["concurrency"]
build = "build.rs"
exclude = [
    ".gitignore",
    ".travis.yml",
    "appveyor.yml",
    "benches/**/*",
    "docs/**/*",
]

[badges]
travis-ci = { repository = "Xudong-Huang/may" }
appveyor = { repository = "Xudong-Huang/may", service = "github" }

[dependencies]
log = "0.4"
socket2 = { version = "0.4", features = ["all"] }
num_cpus = "1.1"
smallvec = "1.2"
generator = "0.7"
crossbeam = "0.8"
may_queue = { version = "0.1", path = "may_queue" }

[target.'cfg(unix)'.dependencies]
nix = "0.20"
libc = "0.2"

[target.'cfg(windows)'.dependencies]
miow = "0.3"
winapi = "0.3"

[dev-dependencies]
bytes = "1.0"
serde = "1.0"
docopt = "1.0"
tempdir = "0.3"
httparse = "1.1"
native-tls = "0.2"
tungstenite = "0.13"
serde_derive = "1.0"


[profile.release]
lto = true

[build-dependencies]
rustversion = "1.0"

[workspace]
members = ["may_queue"]
