forked from stm32-rs/fdcan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (36 loc) · 985 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
[package]
name = "fdcan"
version = "0.2.1"
authors = [
"Richard Meadows <richard@richard.fish>",
"Cor Peters <c.peters@eekels.com>"
]
edition = "2018"
description = "STM32 FDCAN peripheral driver"
documentation = "https://docs.rs/fdcan/"
repository = "https://github.com/stm32-rs/fdcan.git"
keywords = ["can", "hal", "bus"]
categories = ["no-std", "embedded"]
license = "MIT/Apache-2.0"
readme = "README.md"
[package.metadata.docs.rs]
features = ["fdcan_g0_g4_l5"]
targets = ["thumbv7em-none-eabihf"]
[features]
fdcan_g0_g4_l5 = [] # Peripheral map found on G0 G4 L5
fdcan_h7 = [] # Peripheral map found on H7
defmt-03 = ["dep:defmt"]
[dependencies]
bitflags = "1.3.2"
paste = "1.0"
vcell = "0.1.3"
nb = "1.0.0"
static_assertions = "1.1"
volatile-register = "0.2.1"
defmt = { version = "0.3.6", optional = true }
[dependencies.embedded-can-03]
version = "0.3"
optional = true
package = "embedded-can"
[profile.test]
opt-level = "s"