-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (34 loc) · 1.17 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
[package]
name = "tokio-transports"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/0x5459/tokio-transports"
repository = "https://github.com/0x5459/tokio-transports"
keywords = ["ipc", "transport", "tokio", "network", "pipe"]
categories = ["asynchronous"]
readme = "README.md"
description = "tokio-transports is used for communication between processes."
[features]
default = ["serded-json", "serded-bincode", "tracing", "rw-pipe"]
full = ["serded-json", "serded-bincode", "tracing", "rw-pipe"]
rw-pipe = ["tokio/process", "tokio/io-std", "tokio/io-util", "tokio/time"]
serded-json = ["serde_json"]
serded-bincode = ["bincode"]
[dependencies]
tokio = { version = "1", default-features = false, features = [] }
futures-core = "0.3"
futures-sink = "0.3"
bytes = "1.4"
pin-project = "1"
tokio-util = { version = "0.7", features = ["codec", "io"] }
serde = "1"
bincode = { version = "1.3", optional = true }
serde_json = { version = "1", optional = true }
tracing = { version = "0.1", default-features = false, features = [
"std",
], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
anyhow = "1"
futures = "0.3"