forked from zhboner/realm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (38 loc) · 1.13 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
[package]
name = "realm_core"
version = "0.3.7"
authors = ["Realm Contributors"]
description = "Realm's core facilities."
repository = "https://github.com/zhboner/realm/realm_core"
readme = "README.md"
documentation = "https://docs.rs/realm_core"
keywords = ["network", "relay", "zero-copy", "websocket", "tls"]
edition = "2021"
license = "MIT"
[dependencies]
# realm
realm_io = "0.4"
realm_syscall = "0.1.7"
realm_hook = { version = "0.1.4", optional = true }
realm_lb = { version = "0.1.0", optional = true }
kaminari = { version = "0.11", features = ["ws", "tls", "mix"], optional = true }
# other
futures = "0.3"
log = "0.4"
bytes = { version = "1", optional = true }
once_cell = "1"
pin-project = "1"
trust-dns-resolver = "0.22"
tokio = { version = "1.18", features = ["rt", "net", "time"] }
proxy-protocol = { version = "0.5", optional = true }
[features]
default = []
hook = ["realm_hook"]
balance = ["realm_lb"]
brutal-shutdown = ["realm_io/brutal-shutdown"]
transport = ["kaminari"]
transport-boost = []
proxy = ["proxy-protocol", "bytes", "tokio/io-util"]
[dev-dependencies]
env_logger = "0.10"
tokio = { version = "1", features = ["macros"] }