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
49 lines (42 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
49 lines (42 loc) · 1.23 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
[package]
name = "compio-net"
version = "0.11.0"
description = "Networking IO for compio"
categories = ["asynchronous", "network-programming"]
keywords = ["async", "net"]
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-buf = { workspace = true }
compio-driver = { workspace = true }
compio-io = { workspace = true, features = ["ancillary"] }
compio-runtime = { workspace = true }
cfg-if = { workspace = true }
either = "1.9.0"
futures-util = { workspace = true }
once_cell = { workspace = true }
socket2 = { workspace = true }
[target.'cfg(windows)'.dependencies]
widestring = { workspace = true }
windows-sys = { workspace = true, features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_System_IO",
] }
synchrony = { workspace = true, features = ["async_flag"] }
[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
# Shared dev dependencies for all platforms
[dev-dependencies]
compio-macros = { workspace = true }
tempfile = { workspace = true }
[features]
# Nightly features
once_cell_try = []
nightly = ["once_cell_try"]