-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
62 lines (51 loc) · 1.4 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
[package]
authors = ["Vitaly Domnikov <oss@vitaly.codes>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "Peripheral access API for STM32C0 series microcontrollers"
documentation = "https://docs.rs/stm32c0xx-hal"
edition = "2018"
keywords = ["arm", "cortex-m", "stm32c0xx", "hal"]
license = "MIT/Apache-2.0"
name = "stm32c0xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32c0xx-hal"
version = "0.0.0"
[package.metadata.docs.rs]
features = ["stm32c031", "rt"]
default-target = "thumbv6m-none-eabi"
[dependencies]
cortex-m = { version = "0.7.7", features=["critical-section-single-core"] }
nb = "1.0.0"
fugit = "0.3.5"
[dependencies.stm32c0]
git = "https://github.com/stm32-rs/stm32-rs-nightlies"
features = ["rt"]
[dependencies.bare-metal]
version = "1.0.0"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.6"
[dependencies.void]
default-features = false
version = "1.0.2"
[dev-dependencies]
cortex-m-rt = "0.7.1"
cortex-m-rtic = "1.0.0"
cortex-m-semihosting = "0.3.7"
panic-halt = "0.2.0"
panic-semihosting = "0.5.6"
[features]
default = ["i2c-blocking"]
device-selected = []
rt = ["stm32c0/rt"]
stm32c011 = ["stm32c0/stm32c011", "device-selected"]
stm32c031 = ["stm32c0/stm32c031", "device-selected"]
i2c-blocking = []
i2c-nonblocking = []
[profile.dev]
incremental = false
[profile.release]
debug = false
codegen-units = 1
incremental = false
lto = false