[package]
name = "bxcan"
version = "0.7.0"
authors = [
"Jonas Schievink <jonasschievink@gmail.com>",
"Timo Kröger <timokroeger93@gmail.com>",
]
edition = "2021"
description = "STM32 bxCAN peripheral driver"
documentation = "https://docs.rs/bxcan/"
repository = "https://github.com/stm32-rs/bxcan.git"
keywords = ["can", "hal", "bus"]
categories = ["no-std", "embedded"]
readme = "README.md"
license = "MIT OR Apache-2.0"
[workspace]
members = ["testsuite"]
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
bitflags = "1.2.1"
vcell = "0.1.2"
nb = "1.0.0"
[dependencies.embedded-hal-02]
version = "0.2.7"
package = "embedded-hal"
[dependencies.defmt]
optional = true
version = ">=0.2.3,<0.4.0"
[features]
unstable-defmt = ["defmt"]
[profile.test]
opt-level = "s"
lto = true
[package.metadata.release]
tag-message = "{{version}}"
dev-version = false
pre-release-commit-message = "Release {{version}}"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "## Unreleased\n"
replace = """
## Unreleased
No changes.
## [{{version}} - {{date}}](https://github.com/stm32-rs/bxcan/releases/tag/v{{version}})
"""
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = 'bxcan = "[a-z0-9\\.-]+"'
replace = 'bxcan = "{{version}}"'
[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
search = "https://docs.rs/bxcan/[a-z0-9\\.-]+"
replace = "https://docs.rs/bxcan/{{version}}"