-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
48 lines (42 loc) · 1.36 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
44
45
46
47
48
[package]
name = "lilygo-epd47"
description = "Simple driver for the LilyGo T5 4.7 inch E-Ink Display (HW-Version V2.3 / ESP32S3)"
version = "0.3.0"
authors = ["Frido Koch <[email protected]>"]
edition = "2021"
license = "GPL-3.0"
categories = ["embedded", "no-std"]
readme = "./README.md"
repository = "https://github.com/fridolin-koch/lilygo-epd47-rs"
keywords = ["epd", "lilygo", "esp-hal", "ED047TC1", "embedded-graphics"]
[dependencies]
esp-hal = { version = "0.20", features = ["esp32s3", "opsram-8m"] }
embedded-graphics-core = { version = "0.4.0", optional = true }
esp-alloc = "0.4.0"
[dev-dependencies]
esp-println = { version = "0.9.1", features = ["esp32s3", "log"] }
esp-backtrace = { version = "0.12.0", features = [
"esp32s3",
"exception-handler",
"panic-handler",
"println",
] }
u8g2-fonts = { version = "0.4.0", features = ["embedded_graphics_textstyle"] }
embedded-graphics = "0.8.1"
log = { version = "0.4.21" }
tinybmp = { version = "0.6.0" }
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false
[features]
default = ["embedded-graphics"]
embedded-graphics = ["embedded-graphics-core"]