-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
73 lines (71 loc) · 2.48 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[workspace]
members = ["apis", "engine", "db", "shared_types"]
resolver = "2"
# need to be applied only to wasm build
[profile.release]
codegen-units = 1
lto = true
opt-level = 'z'
[workspace.dependencies]
leptos = { version = "0.6", features = ["nightly"] }
leptos-use = { version = "0.13" }
leptos_meta = { version = "0.6", features = ["nightly"] }
leptos_router = { version = "0.6", features = ["nightly"] }
leptos_actix = { version = "0.6" }
leptos_icons = { version = "0.3"}
leptos_i18n = { version = "0.4", features = ["suppress_key_warnings"] }
icondata = {version = "0.5"}
actix-web = { version = "4", features = ["macros"] }
actix-files = { version = "0.6" }
actix-web-actors = { version = "4.3.0" }
actix = "0.13.5"
actix-rt = "2.10.0"
actix-identity = { version = "0.8" }
actix-session = { version = "0.10", features = ["cookie-session"] }
argon2 = "0.5"
sha2 = "0.10"
serde = { version = "1" }
serde_with = { version = "3.9" }
http-serde = { version = "2" }
serde_json = { version = "1" }
cfg-if = "1.0.0"
console_error_panic_hook = "0.1.7"
console_log = "1.0.0"
codee = { version = "0.2", features = ["msgpack_serde", "base64"] }
regex = "1.10"
http = "1.1.0"
log = "0.4.22"
simple_logger = "5.0"
thiserror = "2"
anyhow = "1"
tokio = { version = "1.39.2", features = ["full"] }
wasm-bindgen = "0.2.95"
wasm-bindgen-futures = "0.4"
web-sys = {version = "0.3.70", features = ["AbortController", "AbortSignal", "AudioContext", "AudioBuffer", "AudioBufferSourceNode", "AudioDestinationNode", "Blob", "Clipboard", "HtmlDocument", "SvgPoint", "SvgsvgElement", "SvgGraphicsElement", "SvgRect", "SvgMatrix", "Url", "Window"] }
bb8 = { version = "0.8" }
diesel = { version = "2.2", features = ["postgres", "chrono", "uuid", "serde_json"] }
diesel-async = { version = "0.5", features = ["postgres", "bb8"] }
diesel_migrations = { version = "2.2", features = ["postgres"]}
uuid = { version = "1.10", features = ["v4", "js", "serde"] }
nanoid = "0.4"
dotenvy = "0.15"
lazy_static = "1.5"
rand = "0.8"
rand_core = "0.6"
cookie = "0.18"
skillratings = "0.27"
chrono = { version = "0.4", features = ["serde"] }
itertools = "0.13.0"
leptix_primitives = { version = "0.2" }
tree-ds = {version = "0.1.5", features = ["serde", "compact_serde"] }
bimap = {version = "0.6.3", features = ["serde"] }
walkdir = "2.5"
#1.0.0-alpha is latest
markdown = "1.0.0-alpha"
# Defines a size-optimized profile for the WASM bundle in release mode
[profile.wasm-release]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1
panic = "abort"