-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (48 loc) · 1.32 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
[package]
name = "tchannel_rs"
version = "0.0.2"
edition = "2021"
description = "Network multiplexing and framing RPC protocol"
authors = ["pwalski <[email protected]>"]
repository = "https://github.com/pwalski/tchannel-rust"
license = "MIT"
readme = "README.md"
categories = ["network-programming"]
keywords = ["rpc", "protcol", "networking"]
include = ["**/*.rs", "/Cargo.toml", "/LICENSE.md", "/README.md"]
[dependencies]
async-trait = "0.1"
atoi = "1.0"
bb8 = "0.8"
bitflags = "1.3"
bytes = "1.1"
derive-new = "0.5"
derive_builder = "0.11"
futures = { version = "0.3", features = ["std"] }
getset = "0.1"
log = "0.4"
num-derive = "0.3"
num-traits = "0.2"
serde_json = { version = "1.0", optional = true }
strum = "0.24"
strum_macros = "0.24"
thiserror = "1.0"
thrift_proto = { version = "0.15", package = "thrift", optional = true }
tokio = { version = "1.17", features = ["rt-multi-thread", "net"] }
tokio-macros = "1.7"
tokio-stream = { version = "0.1", features = ["tokio-util"] }
tokio-util = { version = "0.7", features = ["codec"] }
[dev-dependencies]
anyhow = "1.0"
env_logger = "0.9"
serial_test = "0.6"
test-case = "2.0"
tokio = { version = "1.17", features = ["macros", "test-util"] }
tokio-test = "0.4"
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
[features]
thrift = ["dep:thrift_proto"]
json = ["dep:serde_json"]