Skip to content

Commit 1e0fde1

Browse files
committed
Document defmt feature
1 parent 3e8171f commit 1e0fde1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ readme = "README.md"
2121
exclude = [".gitignore"]
2222

2323
[package.metadata.docs.rs]
24-
features = ["stm32h743v", "rt", "xspi", "sdmmc", "fmc", "usb_hs", "rtc", "ethernet", "ltdc", "crc", "rand"]
24+
features = ["stm32h743v", "rt", "xspi", "sdmmc", "fmc", "usb_hs", "rtc", "ethernet", "ltdc", "crc", "rand", "defmt"]
2525
targets = ["thumbv7em-none-eabihf"]
2626

2727
[dependencies]

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
//! * [Cyclic Redundancy Check (CRC)](crate::crc) Feature gate `crc`
4848
//! * [Random Number Generator](crate::rng) ([rand_core::RngCore](rand_core::RngCore) is implemented under the `rand` feature gate)
4949
//! * [System Window Watchdog](crate::watchdog)
50+
//!
51+
//! Cargo Features
52+
//!
53+
//! * [`defmt`](https://defmt.ferrous-systems.com/) formatting for some types can be enabled with the feature `defmt`.
5054
5155
#![cfg_attr(not(test), no_std)]
5256
#![allow(non_camel_case_types)]

0 commit comments

Comments
 (0)