-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (40 loc) · 1.25 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 = "central-api"
version = "0.1.0"
edition = "2021"
[dependencies]
ws-com-framework = { git="https://github.com/file-share-platform/ws-com-framework", rev="1b7b6e1562f40f4591a341170f5ade262c2dca60" }
# Logging & User Interaction
dotenv = "0.15.0"
log = "0.4.17"
pretty_env_logger = "0.4.0"
# Async Crates
serde = {version = "1.0.147", features = ["derive"]}
serde_json = "1.0.87"
async-trait = "0.1.58"
tokio = { version = "1", default-features = false, features = ["macros"] }
futures = "0.3.25"
async-stream = "0.3.3"
linked-hash-map = "0.5.6"
# Actix
actix = "0.13.0"
actix-web = "4"
actix-web-actors = "4"
actix-extensible-rate-limit = "0.2.1"
# Database crates
rand = "0.8.5"
sha2 = "0.10.6"
diesel = { version="2.0.2", features = ["r2d2", "sqlite", "returning_clauses_for_sqlite_3_35"] }
diesel_migrations = { version="2.0.0" }
[dev-dependencies]
serde_json = "1.0.85"
tungstenite = { git="https://github.com/riptide-org/tungstenite-rs", branch="ISSUE-199-READ-BODY-ON-FAILED-READ" }
reqwest = { version="0.11.11", features = ["json"] }
tokio = { version = "1", default-features = false, features = ["macros", "rt", "rt-multi-thread"] }
ntest = "0.8.1"
[lib]
name = "central_api_lib"
path = "src/lib.rs"
[[bin]]
name = "central_api"
path = "src/bin.rs"