-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
46 lines (33 loc) · 960 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
44
45
46
[package]
authors = ["Olivier Goffart <olivier.goffart@slint-ui.com>"]
edition = "2021"
readme = "README.md"
name = "carousel-mxchip-iot-devkit"
version = "0.2.0"
[dependencies]
slint = { version = "0.3.3", default-features = false, features = ["compat-0-3-0", "libm", "unsafe-single-threaded"] }
alloc-cortex-m = { version = "0.4.2" }
cortex-m = "0.7.0"
cortex-m-rt = "0.7.2"
cortex-m-semihosting = "0.5.0"
panic-halt = "0.2.0"
ssd1306 = "0.7.1"
embedded-graphics-core = "0.3"
embedded-hal = "0.2"
[dependencies.stm32f4xx-hal]
version = "0.14"
features = [ "rt", "stm32f412" ]
[dependencies.stm32f4]
features = ["stm32f412", "rt"]
version = "0.15"
[build-dependencies]
slint-build = { version = "0.3.3" }
[[bin]]
name = "carousel"
test = false
bench = false
path = "src/main.rs"
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations