-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (42 loc) · 1.23 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
[package]
name = "gipc"
version = "0.2.0"
edition = "2021"
authors = ["tecc <tecc@tecc.me>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tecc/gipc"
description = """
A generic abstraction layer over raw sockets for interprocess communication, with async support.
"""
categories = ["network-programming", "asynchronous", "os"]
keywords = ["ipc", "interprocess", "io"]
[dependencies]
async-trait = { version = "0.1.68", optional = true }
byteorder = "1.4.3"
ciborium = "0.2.0"
dirs = "5.0.0"
futures-io = { version = "0.3.28", optional = true }
interprocess = "1.2.1"
serde = "1.0.159"
thiserror = "1.0.40"
tokio = { version = "1.27.0", optional = true, default-features = false }
tokio-util = { version = "0.7.7", optional = true, default-features = false }
[features]
default = ["sync"]
sync = []
async-tokio = [
"dep:async-trait", "dep:futures-io",
"tokio/rt", "tokio-util/compat", "interprocess/tokio_support"
]
[dev-dependencies]
tokio = { version = "1.27.0", features = ["full"] }
[[example]]
name = "sync"
required-features = ["sync"]
[[example]]
name = "async-tokio"
required-features = ["async-tokio"]
[package.metadata.docs.rs]
features = ["sync", "async-tokio", "tokio/full"]
rustc-args = ["--cfg", "docsrs"]