-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathCargo.toml
43 lines (35 loc) · 1.27 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
[package]
name = "lmrs"
version = "0.1.0"
edition = "2021"
[features]
default = []
backend = ["dep:tokio-tungstenite", "dep:futures-util", "dep:tokio", "dep:serde_json", "dep:serde"]
desktop = ["dep:dioxus", "dep:dioxus-desktop", "dep:pulldown-cmark"]
backend-multimodal = ["dep:base64", "dep:image"]
multimodal = ["dep:image"]
[dependencies]
wide = "0.7.28"
memmap2 = "0.9.4"
rayon = "1.10.0"
chrono = "0.4.38"
clap = { version = "4.5.13", features = ["derive"] }
image = { version = "0.25.2", optional = true }
tokio-tungstenite = { version = "0.23.1", optional = true }
futures-util = { version = "0.3.28", default-features = false, features = ["sink", "std"], optional = true }
tokio = { version = "1.0.0", features = ["full"], optional = true }
base64 = { version = "0.22.1", optional = true }
serde_json = { version = "1.0.128", optional = true }
serde = { version = "1.0.210", features = ["derive"], optional = true }
dioxus = { version = "0.5.0", optional = true }
dioxus-desktop = { version = "0.5.0", optional = true }
pulldown-cmark = { version = "0.12.1", default-features = false , features = ["html"], optional = true}
[[bin]]
name = "backend"
required-features = ["backend"]
[[bin]]
name = "desktop"
required-features = ["desktop"]
[profile.release]
codegen-units = 1
lto = true