forked from dfrankland/proton-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (39 loc) · 1.17 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
[package]
authors = ["Dylan Frankland <[email protected]>"]
edition = "2018"
categories = ["embedded", "hardware-support", "no-std"]
description = "Board Support Crate for the Proton C"
keywords = ["arm", "cortex-m", "stm32"]
license = "MIT"
name = "proton-c"
readme = "README.md"
repository = "https://github.com/dfrankland/proton-c"
documentation = "https://docs.rs/proton-c"
version = "0.1.0"
exclude = ["images/**/*"]
[dependencies]
embedded-hal = "0.2.3"
stm32f3xx-hal = { git = "https://github.com/stm32-rs/stm32f3xx-hal", rev = "35c6c2d68bd674cb311a8e7a2ab001ae48dce069", features = ["rt", "stm32f303xc"] }
[dev-dependencies]
alloc-cortex-m = "0.3.5"
cortex-m = "0.6.1"
cortex-m-rt = "0.6.10"
cortex-m-rtfm = { version = "0.4.3", features = ["timer-queue"] }
cortex-m-semihosting = "0.3.5"
panic-semihosting = "0.5.3"
usb-device = "0.2.3"
[dev-dependencies.stm32f3xx-hal]
# version = "0.3.0"
features = ["rt", "stm32f303xc", "unproven", "stm32-usbd"]
git = "https://github.com/stm32-rs/stm32f3xx-hal"
rev = "35c6c2d68bd674cb311a8e7a2ab001ae48dce069"
[features]
default = ["rt"]
rt = []
[profile]
[profile.dev]
debug = true
[profile.release]
debug = true
lto = true
opt-level = "s"