forked from servo/ipc-channel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (44 loc) · 1.31 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
[package]
name = "ipc-channel"
version = "0.18.2"
description = "A multiprocess drop-in replacement for Rust channels"
authors = ["The Servo Project Developers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/ipc-channel"
edition = "2021"
[features]
force-inprocess = []
memfd = ["sc"]
async = ["futures", "futures-test"]
win32-trace = []
windows-shared-memory-equality = ["windows/Win32_System_LibraryLoader"]
[dependencies]
bincode = "1"
crossbeam-channel = "0.5"
fnv = "1.0.3"
futures = { version = "0.3", optional = true }
futures-test = { version = "0.3", optional = true }
lazy_static = "1"
libc = "0.2.12"
rand = "0.8"
serde = { version = "1.0", features = ["rc"] }
uuid = { version = "1", features = ["v4"] }
[target.'cfg(any(target_os = "linux", target_os = "openbsd", target_os = "freebsd"))'.dependencies]
mio = { version = "1.0", features = ["os-ext"] }
sc = { version = "0.2.2", optional = true }
tempfile = "3.4"
[dev-dependencies]
crossbeam-utils = "0.8"
static_assertions = "1.1.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.48.0"
features = [
"Win32_Foundation",
"Win32_System_WindowsProgramming",
"Win32_System_Threading",
"Win32_System_Pipes",
"Win32_System_Memory",
"Win32_System_IO",
"Win32_Storage_FileSystem",
"Win32_Security",
]