-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (48 loc) · 1.75 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (48 loc) · 1.75 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
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "inputmodules"
version = "0.3.16"
edition = "2021"
rust-version = "1.61"
build = "build.rs"
readme = "../README.md"
license = "BSD-3-Clause"
license-file = "LICENSE.md"
[features]
qemu = []
azalea = []
[build-dependencies]
built = { version = "0.5.0", default-features = false, features = ["chrono", "git2"] }
[dependencies]
cfg-if = "1.0.0"
embedded-graphics = "0.8.1"
getargs = { version = "0.5.0", default-features = false }
log = "0.4.27"
uefi = { version = "0.20", features = ["alloc"] }
uefi-services = "0.17"
zune-core = "0.4.12"
redox_hwio = { git = "https://github.com/FrameworkComputer/rust-hwio", branch = "freebsd", default-features = false }
smbios-lib = { git = "https://github.com/FrameworkComputer/smbios-lib.git", branch = "no-std", default-features = false }
# Temporarily override because we need pending PRs for
# for the Shell and ShellParameters protocols
[patch.crates-io]
uefi = { git = "https://github.com/FrameworkComputer/uefi-rs", branch = "merged" }
uefi-services = { git = "https://github.com/FrameworkComputer/uefi-rs", branch = "merged" }
[dependencies.zune-png]
version = "0.4.10"
default-features = false
[dependencies.framework_lib]
#path = "/home/zoid/clone/framework-system/framework_lib"
git = "https://github.com/FrameworkComputer/framework-system"
rev = "v0.4.3"
#branch = "main"
features = ["uefi"]
default-features = false
[profile.release]
# Make sure LTO is enabled to minimize binary size.
lto = true
# Strip binary for reproducibility and binary size (remove debugging data)
# Otherwise the RSDS signature and some instructions are different in each build
strip = true
opt-level = "s" # Optimize for size (z and s are similar)
codegen-units = 1 # Better optimization
panic = "abort" # Remove unwinding code