M Cargo.toml => Cargo.toml +1 -4
@@ 56,10 56,7 @@ rt = ["avr-device-macros"]
# Unfortunately, we can only build documentation for a subset of the supported
# MCUs on docs.rs. If you think a very popular chip is missing from the list,
# feel free to add it here.
-docsrs = ["rt", "atmega328p", "atmega32u4", "atmega2560", "attiny85", "atmega4809"]
-
-# Enable ufmt::uDebug impls for certain types to aid efficient debugging.
-udebug = ["dep:ufmt"]
+docsrs = ["rt", "ufmt", "atmega328p", "atmega32u4", "atmega2560", "attiny85", "atmega4809"]
[dependencies]
bare-metal = "1.0.0"
M src/interrupt.rs => src/interrupt.rs +1 -1
@@ 38,7 38,7 @@ use core::arch::asm;
/// This structure does not implement `Copy` and `Clone`,
/// because the user shall not duplicate and pass it twice to [crate::interrupt::restore].
#[derive(Debug)]
-#[cfg_attr(feature = "udebug", derive(ufmt::derive::uDebug))]
+#[cfg_attr(feature = "ufmt", derive(ufmt::derive::uDebug))]
pub struct IrqFlag {
// The saved SREG.
sreg: u8,