# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bxcan-ng" version = "0.8.0" authors = [ "Jonas Schievink ", "Timo Kröger ", "guineawheek ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "STM32 bxCAN peripheral driver" documentation = "https://docs.rs/bxcan/" readme = "README.md" keywords = [ "can", "hal", "bus", ] categories = [ "no-std", "embedded", ] license = "MIT OR Apache-2.0" repository = "https://github.com/stm32-rs/bxcan.git" [package.metadata.release] pre-release-commit-message = "Release {{version}}" tag-message = "{{version}}" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = """ ## Unreleased No changes. ## [{{version}} - {{date}}](https://github.com/stm32-rs/bxcan/releases/tag/v{{version}}) """ search = """ ## Unreleased """ [[package.metadata.release.pre-release-replacements]] file = "README.md" replace = 'bxcan-ng = "{{version}}"' search = 'bxcan-ng = "[a-z0-9\\.-]+"' [[package.metadata.release.pre-release-replacements]] file = "src/lib.rs" replace = "https://docs.rs/bxcan/{{version}}" search = 'https://docs.rs/bxcan/[a-z0-9\.-]+' [profile.test] opt-level = "s" lto = true [lib] name = "bxcan_ng" path = "src/lib.rs" [dependencies.bitflags] version = "1.2.1" [dependencies.defmt] version = ">=0.2.3,<0.4.0" optional = true [dependencies.embedded-can-04] version = "0.4.1" package = "embedded-can" [dependencies.embedded-hal-02] version = "0.2.7" optional = true package = "embedded-hal" [dependencies.nb] version = "1.0.0" [dependencies.vcell] version = "0.1.2" [features] embedded-hal-02 = ["dep:embedded-hal-02"] unstable-defmt = ["dep:defmt"] [badges.maintenance] status = "actively-developed"