-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
65 lines (55 loc) · 1.69 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
[package]
name = "crossmist"
version = "1.1.2"
authors = ["Alisa Sireneva <me@purplesyringa.moe>"]
edition = "2021"
description = "Efficient and seamless cross-process communication, both synchronously and asynchronously"
documentation = "https://docs.rs/crossmist"
repository = "https://github.com/purplesyringa/crossmist/"
license = "MIT"
keywords = ["multiprocessing"]
categories = ["asynchronous", "concurrency"]
[dependencies]
async-io = { version = "2", optional = true }
async-fs = { version = "2", optional = true }
crossmist-derive = { version = "=1.0.2", path = "crossmist-derive" }
paste = "1.0"
[target.'cfg(unix)'.dependencies]
libc = "0.2.158"
rustix = { version = "0.38.34", features = ["net", "process", "std"], default-features = false }
tokio = { version = "1", features = ["fs", "macros", "net", "rt", "sync"], optional = true }
[target.'cfg(windows)'.dependencies]
futures-lite = { version = "2", optional = true }
tokio = { version = "1", features = ["rt", "macros", "fs", "io-util", "sync"], optional = true }
windows = { version = "0.39.0", features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_LibraryLoader",
"Win32_System_Pipes",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
]}
[dev-dependencies]
anyhow = "1"
ctor = "0.2.8"
macro_rules_attribute = "0.2"
smol = "2"
smol-macros = "0.1"
[features]
tokio = ["dep:tokio"]
smol = ["dep:async-fs", "dep:async-io", "dep:futures-lite"]
nightly = []
[[test]]
name = "sync"
path = "tests/main.rs"
[[test]]
name = "tokio"
path = "tests/tokio.rs"
[[test]]
name = "smol"
path = "tests/smol.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[package.metadata.docs.rs]
features = ["tokio", "smol", "nightly"]