-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
53 lines (47 loc) · 1.74 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
[package]
name = "x-server-stats"
description = "A simple web server to display server stats over HTTP and Websockets"
version = "0.1.2"
edition = "2021"
rust-version = "1.64.0"
homepage = "https://github.com/xamfy/x-server-stats"
license = "Apache-2.0"
readme = "README.md"
# authors = ["xamfy <>"]
[[bin]]
edition = "2021"
name = "x-server-stats" # This is the name of the binary, need to check if it makes sense to add release version.
path = "src/main.rs"
# https://github.com/johnthagen/min-sized-rust
[profile.release]
# strip = true # Automatically strip symbols from the binary.
# opt-level = "z" # Optimize for size.
# lto = true
# codegen-units = 1
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4"
#config = "0.13.1"
config = "0.12"
deadpool-postgres = { version = "0.10.2", features = ["serde"] }
derive_more = "0.99.17"
dotenv = "0.15.0"
serde = { version = "1.0.137", features = ["derive"] }
#serde_json = "1.0"
tokio-pg-mapper = "0.2.0"
tokio-pg-mapper-derive = "0.2.0"
tokio-postgres = { version = "0.7.6", features = ["with-chrono-0_4"] }
chrono = { version = "0.4.22", features = ["serde"] }
askama = { version = "0.11.1", features = ["with-actix-web"] }
askama_actix = "0.13.0"
env_logger = "0.9.1"
log = "0.4.17"
strum_macros = "0.24.1"
strum = { version = "0.24.1", features = ["derive"]}
minify = "1.2"
actix-governor = "0.3" # https://github.com/AaronErhardt/actix-governor
actix-web-lab = "0.18.2" # https://crates.io/crates/actix-web-lab
systemstat = "0.2.0"
nats = "0.23.0" #https://github.com/nats-io/nats.rs
#kafka = "0.9" #https://github.com/kafka-rust/kafka-rust
rdkafka = { version = "0.25", features = ["cmake-build"] } #https://github.com/fede1024/rust-rdkafka