-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (37 loc) · 977 Bytes
/
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
[workspace]
resolver = "2"
members = [
"lotus",
]
default-members = []
[profile.release]
codegen-units = 1 # Best LLVM optimization
panic = "abort" # Remove unwind code on release
opt-level = 3
lto = true
strip = true
[workspace.package]
license = "GPL-3.0-or-later"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
authors = [
"Max Rodriguez <[email protected]>"
]
repository = "https://gitlab.com/maxrdz/lotus"
[workspace.metadata.cross.build]
default-target = "aarch64-unknown-linux-gnu"
[workspace.metadata.cross.target.aarch64-unknown-linux-gnu]
image.name = "ubuntu:24.04"
image.toolchain = ["aarch64-unknown-linux-gnu"]
pre-build = [
"apt-get update",
"apt-get install --assume-yes git llvm clang pkg-config gcc g++",
"apt-get download libclang-dev modemmanager-dev",
"dpkg --force-all -i *.deb",
]
[workspace.dependencies]
cfg-if = "1"
[workspace.dependencies.i18n-embed]
version = "0.15"
features = ["fluent-system", "desktop-requester"]