-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (56 loc) · 1.66 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Cargo.toml
[package]
name = "blackpill-usb-pwdstore"
version = "0.1.7"
authors = ["Sami J. Mäkinen <[email protected]>"]
description = "USB Password Trove for BlackPill card (stm32f411)"
repository = "https://github.com/sjm42/blackpill-usb-pwdstore"
readme = "README.md"
keywords = ["usb", "password", "embedded", "blackpill", "stm32"]
license = "MIT OR Apache-2.0"
edition = "2021"
[features]
default = ["black_pill"]
black_pill = ["stm32f4xx-hal"]
[dependencies.stm32f4xx-hal]
optional = true
version = "=0.16"
features = ["rt", "stm32f411", "usb_fs"]
# git = "https://github.com/stm32-rs/stm32f4xx-hal.git"
[dependencies]
alloc-cortex-m = "0.4"
cortex-m = "0.7"
cortex-m-rt = "0.7"
cortex-m-rtic = "1.1"
embedded-hal = "0.2"
fugit = "0.3"
menu = "0.3"
no-std-compat = { version = "0.4", features = ["alloc"] }
panic-halt = "0.2"
rand = { version = "0.8", default-features = false, features = ["std_rng"] }
sha2 = { version = "0.10", default-features = false }
privatebox = "0.1"
spi-memory = { git = "https://github.com/sjm42/spi-memory.git" }
stm32-usbd = "0.6"
systick-monotonic = "1.0"
usb-device = "0.2"
usbd-serial = "0.1"
# this lets you use `cargo fix`!
#[[bin]]
#name = "blackpill-usb-pwdstore"
#test = false
#bench = false
# identical profiles haha
[profile.release]
opt-level = 'z'
codegen-units = 1 # better optimizations
debug = false # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
[profile.dev]
opt-level = 'z'
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
[build-dependencies]
build-data = "0.1"
# EOF