-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
41 lines (36 loc) · 1.18 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
[package]
name = "async-stm32f1xx"
version = "0.3.0"
authors = ["Martin Kröning <[email protected]>"]
edition = "2018"
description = "Abstractions for asynchronous programming on the STM32F1xx family of microcontrollers."
readme = "README.md"
repository = "https://github.com/mwkroening/async-stm32f1xx"
license = "MIT OR Apache-2.0"
categories = ["asynchronous", "embedded", "hardware-support", "no-std"]
keywords = ["arm", "async", "cortex-m", "stm32"]
[dependencies]
as-slice = "0.2"
cortex-m-rt = "0.6"
embedded-hal = "0.2"
embedded-dma = "0.1"
futures = { version = "0.3", default-features = false }
nb = "1.0"
stm32f1xx-hal = { version = "0.7", features = ["rt"] }
void = { version = "1.0", default-features = false }
[dev-dependencies.async-embedded]
git = "https://github.com/rust-embedded-community/async-on-embedded"
rev = "aa43ccddffb8ba0460c49bcfe61cba24d966db6c"
[dev-dependencies]
stm32f1xx-hal = { version = "0.7", features = ["stm32f103", "medium"] }
defmt = "0.1"
defmt-rtt = "0.1"
panic-probe = { version = "0.1", features = ["print-defmt"] }
[features]
# set logging levels here
default = ["defmt-default"]
defmt-default = []
[profile.release]
codegen-units = 1
debug = 2
lto = true