-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
58 lines (53 loc) · 2.33 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
[package]
name = "dce"
description = "Just examples for dce libs"
version = "1.0.0"
authors = ["Drunk Tan <[email protected]>"]
homepage = "https://drunkce.com"
documentation = "https://docs.rs/dce"
repository = "https://github.com/idrunk/dce-rust"
keywords = ["dce", "router"]
categories = ["command-line-utilities", "network-programming", "web-programming"]
license = "MIT"
edition = "2021"
[[bin]]
name = "cli"
path = "src/main-sync.rs"
[[bin]]
name = "app"
path = "src/main.rs"
[workspace]
members = [ "crates/*", "crates/protocols/*", ]
exclude = [ "crates/protocols", ]
[features]
default = ["async"]
async = ["dce-hyper", "dce-tokio", "dce-tokio-tungstenite", "dce-router/async", "dce-cli/async", "async-session-app"]
async-session-app = ["dce-session/redis-user-async-auto", "dce-router/session", "dce-cli/session", "dce-hyper/sailfish", "dce-hyper/session", "dce-tokio-tungstenite/session", "dce-tokio/session"]
connection-session = ["dce-session/connection"]
sync-session = ["dce-session/redis-user-auto", "dce-router/session", "dce-cli/session"]
[dependencies]
hyper = { version = "1.2.0", features = ["full"] }
hyper-util = { version = "0.1.3", features = ["tokio"] }
http-body-util = "0.1"
futures = { version = "0.3.0", features = ["thread-pool"]}
futures-util = { version = "0.3.28", default-features = false, features = ["std"] }
tokio = { version = "1.32.0", features = ["full"] }
tokio-util = { version = "0.7.0", features = ["full"] }
tokio-tungstenite = "0.21.0"
dce-macro = { path = "crates/macro", version = "1.*" }
dce-util = { path = "crates/util", version = "1.*" }
dce-session = { path = "crates/session", version = "1.*", default-features = false }
dce-router = { path = "crates/router", version = "1.*", default-features = false }
dce-cli = { path = "crates/protocols/cli", version = "1.*", default-features = false }
dce-hyper = { path = "crates/protocols/hyper", version = "1.*", optional = true }
dce-tokio = { path = "crates/protocols/tokio", version = "1.*", optional = true }
dce-tokio-tungstenite = { path = "crates/protocols/tokio-tungstenite", version = "1.*", optional = true }
env_logger = "0.11.2"
log = "0.4.20"
serde = { version = "1.0.188", features = ["derive"] }
sailfish = "0.8.3"
chrono = "0.4.34"
url = "2.5.0"
futures-channel = "0.3.28"
rand = { version = "0.8.5", features = [] }
redis = { version = "0.25.2", features = ["tokio-comp"] }