-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (34 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
42 lines (34 loc) · 1.23 KB
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
[package]
name = "atomscreen"
version = "0.1.0"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
slint = {git = "https://github.com/slint-ui/slint", default-features = false, features = ["renderer-software", "compat-1-2", "std"]}
toml = "0"
thiserror = "2"
clap = { version = "4", features = ["derive"] }
serde = "1.0"
tokio = { version = "1", features = ["full"]}
moonraker-rs = { path = "./moonraker-rs" }
image = { version = "0", default-features = false, features = ["png"] }
fontique = { version = "0.7.0", default-features = false, features = ["std", "system", "fontconfig-dlopen"] }
optional_struct = "0"
[features]
pc = ["slint/accessibility", "slint/backend-default", "slint/renderer-femtovg"]
[target.'cfg(unix)'.dependencies]
driver = { path = "./driver" }
[build-dependencies]
slint-build = { git = "https://github.com/slint-ui/slint", package = "slint-build" }
[workspace]
members = ["driver","moonraker-rs"]
[workspace.metadata.cross.target.armv7-unknown-linux-musleabihf]
pre-build = [
"apt-get update",
"apt-get install -y libfontconfig1-dev libssl-dev openssl pkg-config",
]
[profile.release]
strip = true
lto = true
opt-level = "z"
codegen-units = 1