-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (51 loc) · 1.59 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
[package]
name = "hellomouse_board_server"
version = "0.1.0"
edition = "2021"
linker = "/usr/bin/clang"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "server"
path = "src/main.rs"
[[bin]]
name = "user"
path = "src/user.rs"
[dependencies]
actix-identity = "0.5.2"
actix-session = { version="0.7.2", features = ["cookie-session"] }
actix-web = "4.3.1"
bitflags = { version="2.3.3", features = ["serde"] }
cached = "0.44.0"
chrono = { version = "0.4.26", features = ["serde"] }
env_logger = "0.10.0"
json_value_merge = "1.1"
serde = { version = "1.0.171", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
serde_derive = "1.0.136"
sqlx = { version = "0.7", features = [ "runtime-async-std", "postgres", "chrono", "uuid" ] }
tokio = { version = "1", features = ["full"] }
toml = "0.5.2"
uuid = { version = "1.4.1", features = ["v4", "serde"] }
libpasta = "0.1.2"
num-derive = "0.4.0"
num = "0.4.1"
num-traits = "0.2.16"
actix-cors = "0.6.4"
clap = { version = "4.0", features = ["derive"] }
futures = "0.3.28"
actix-files = "0.6.5"
sha2 = "0.10.8"
actix-multipart = "0.6.1"
sanitize_html = "0.7.0"
regex = "1.9.4"
actix-governor = "0.4.1"
imghdr = "0.7.0"
image = "0.25.1"
sanitize-filename = "0.5.0"
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*