-
Notifications
You must be signed in to change notification settings - Fork 82
/
Cargo.toml
84 lines (74 loc) · 1.86 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "may"
version = "0.3.47"
edition = "2021"
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"
cfg-if = "1"
num_cpus = "1"
smallvec = "1"
generator = "0.8"
crossbeam = "0.8"
parking_lot = "0.12"
core_affinity = "0.8"
socket2 = { version = "0.5", features = ["all"] }
fastrand = { version = "2.0", optional = true }
may_queue = { version = "0.1", path = "may_queue" }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29", features = ["event", "socket"] }
libc = "0.2"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_NetworkManagement_IpHelper",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Pipes",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
]
[dev-dependencies]
bytes = "1.0"
serde = "1.0"
docopt = "1.0"
httparse = "1.1"
tempfile = "3"
native-tls = "0.2"
tungstenite = "0.24"
serde_derive = "1.0"
[features]
default = ["io_cancel", "io_timeout", "work_steal"]
io_cancel = []
io_timeout = []
work_steal = []
rand_work_steal = ["work_steal", "dep:fastrand"]
crossbeam_queue_steal = ["work_steal"]
[profile.release]
lto = true
[build-dependencies]
rustversion = "1.0"
[workspace]
members = ["may_queue"]