From e4c997e7465f778366d5e43f18df5306597882d7 Mon Sep 17 00:00:00 2001 From: Sachymetsu Date: Fri, 5 Dec 2025 08:46:58 +0100 Subject: [PATCH] Remove unused, README update --- README.md | 4 ++++ sachy-fmt/src/lib.rs | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) 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; -- 2.51.2