forked from compio-rs/compio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (61 loc) · 1.91 KB
/
Cargo.toml
File metadata and controls
75 lines (61 loc) · 1.91 KB
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
[package]
name = "compio-runtime"
version = "0.11.0"
description = "High-level runtime for compio"
categories = ["asynchronous"]
keywords = ["async", "runtime"]
readme = "README.md"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
# Workspace dependencies
compio-driver = { workspace = true }
compio-buf = { workspace = true }
compio-log = { workspace = true }
compio-io = { workspace = true, optional = true }
async-task = "4.5.0"
cfg-if = { workspace = true }
criterion = { workspace = true, optional = true }
compio-send-wrapper = { workspace = true }
core_affinity = "0.8.3"
crossbeam-queue = { workspace = true }
futures-util = { workspace = true }
once_cell = { workspace = true }
scoped-tls = "1.0.1"
slab = { workspace = true }
socket2 = { workspace = true }
pin-project-lite = { workspace = true }
synchrony = { workspace = true, features = ["event"] }
# Windows specific dependencies
[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = ["Win32_System_IO"] }
# Unix specific dependencies
[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
[target.'cfg(windows)'.dev-dependencies]
windows-sys = { workspace = true, features = ["Win32_UI_WindowsAndMessaging"] }
[target.'cfg(target_os = "macos")'.dev-dependencies]
core-foundation = "0.10.0"
block2 = "0.6.0"
[target.'cfg(any(windows, target_os = "macos"))'.dev-dependencies]
synchrony = { workspace = true, features = ["async_flag"] }
[features]
time = []
async-fd = ["dep:compio-io"]
# Enable it to always notify the driver when a task schedules.
notify-always = []
future-combinator = []
current_thread_id = []
nightly = ["current_thread_id", "future-combinator"]
[[test]]
name = "custom_loop"
required-features = ["time"]
[[test]]
name = "event"
[[test]]
name = "drop"
required-features = ["time"]