-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (31 loc) · 880 Bytes
/
Cargo.toml
File metadata and controls
37 lines (31 loc) · 880 Bytes
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
[package]
name = "doomarkable"
version = "0.4.2"
edition = "2018"
authors = ["Linus <linus@cosmos-ink.net>"]
# Using build script to generate the dither cache
# and compressing it at compilation so it can be
# included in the final binary.
build = "build/main.rs"
[build-dependencies]
image = "0.25"
zstd = "0.13"
[profile.release.build-override]
# Makes dithered cache calculation about 25x faster!
opt-level = 2
[dependencies]
doomgeneric = "=0.3.0-beta.2"
libremarkable = "0.7.0"
fxhash = "0.2"
mimalloc = { version = "0.1", default-features = false }
log = "0.4"
env_logger = "0.11"
zstd = "0.13" # Matched with libremarkable, since only one version of zstd-sys can be built
inotify = "0.11"
evdev = "0.13"
[profile.release]
# Improves performance significantly
lto = "thin"
codegen-units = 1
# Maybe a slight performance increase. Not really worth it.
#panic = "abort"