diff --git a/README.md b/README.md index 3286efd..1b279f6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # Sachy's Embeddable Core crates This is a repo of various crates that I have written for myself for various embedded projects I do in my own time. Not really production ready or meant for outside use, but feel free to contribute if you do find use for them. Just no AI slop code whatsoever. + +## License + +Code dual-licensed under Apache 2.0 or MIT. diff --git a/sachy-fmt/src/lib.rs b/sachy-fmt/src/lib.rs index 08be09a..30abdd8 100644 --- a/sachy-fmt/src/lib.rs +++ b/sachy-fmt/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![allow(unused)] #[macro_export] macro_rules! assert { @@ -231,13 +230,4 @@ impl Try for Result { } } -pub(crate) struct Bytes<'a>(pub &'a [u8]); - -#[cfg(feature = "defmt")] -impl defmt::Format for Bytes<'_> { - fn format(&self, fmt: defmt::Formatter) { - defmt::write!(fmt, "{:02x}", self.0) - } -} - pub use _warn as warn;