-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
79 lines (71 loc) · 2.01 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
[package]
name = "ntex-neon"
version = "0.1.18"
description = "Async runtime for ntex"
categories = ["asynchronous"]
keywords = ["async", "runtime"]
authors = ["ntex contributors <[email protected]>"]
repository = "https://github.com/ntex-rs/neon"
documentation = "https://docs.rs/ntex-neon/"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.75"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]
targets = [
"x86_64-pc-windows-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-ios",
"aarch64-linux-android",
"x86_64-unknown-dragonfly",
"x86_64-unknown-freebsd",
"x86_64-unknown-illumos",
"x86_64-unknown-netbsd",
"x86_64-unknown-openbsd",
]
[dependencies]
async-task = "4.5"
cfg-if = "1.0"
crossbeam-queue = "0.3.8"
crossbeam-channel = "0.5.8"
fxhash = "0.2"
log = "0.4"
oneshot = "0.1"
scoped-tls = "1.0.1"
swap-buffer-queue = "0.2.1"
# Windows specific dependencies
[target.'cfg(windows)'.dependencies]
aligned-array = "1.0.1"
windows-sys = { version = "0.52.0", features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Console",
"Win32_System_IO",
"Win32_System_Pipes",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
] }
# Unix specific dependencies
[target.'cfg(unix)'.dependencies]
libc = "0.2.164"
polling = "3.7.4"
# Linux specific dependencies
[target.'cfg(target_os = "linux")'.dependencies]
io-uring = { version = "0.7.4", optional = true }
polling = { version = "3.7.4", optional = true }
# Other platform dependencies
[target.'cfg(all(not(target_os = "linux"), unix))'.dependencies]
polling = { version = "3.7.4" }
[target.'cfg(windows)'.dev-dependencies]
windows-sys = { version = "0.52.0", features = ["Win32_UI_WindowsAndMessaging"] }
[features]
default = []
io-uring = ["dep:io-uring"]
io-uring-compat = []
polling = ["dep:polling"]