-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
81 lines (69 loc) · 2.02 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
[workspace]
members = [
"examples"
, "mco-gen"]
[package]
name = "mco"
version = "0.1.48"
edition = "2018"
authors = ["[email protected]", "Xudong Huang <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/co-rs/mco.git"
homepage = "https://github.com/co-rs/mco.git"
description = "Rust Coroutine Library like go"
readme = "README.md"
keywords = ["coroutine", "async", "multi-thread"]
categories = ["concurrency"]
exclude = [
".gitignore",
".travis.yml",
"appveyor.yml",
"benches/**/*",
"docs/**/*",
]
[dependencies]
log = "0.4"
socket2 = { version = "0.5.5", features = ["all"] }
num_cpus = "1.13"
smallvec = "1.9"
mco-gen = {version = "0.7",path="mco-gen"}
crossbeam = "0.8"
crossbeam-utils = { version = "0.8", features = ["std"] }
once_cell = "1.18"
parking_lot = "0.11"
time = { version = "0.3", features = ["formatting", "local-offset", "parsing", "serde"] }
serde = "1.0"
dark-std = "0.2"
[target.'cfg(unix)'.dependencies]
nix = { version = "0.27", features = ["event"] }
libc = "0.2"
tempdir = "0.3.7"
[target.'cfg(windows)'.dependencies]
miow = "0.6"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.48"
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",
"Win32_System_Time",
]
[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
version = "0.3"
optional = true
[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
version = "0.2"
optional = true
[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
version = "0.3"
[profile.release]
lto = true
[build-dependencies]
rustversion = "1.0"
[dev-dependencies]