raad crate for eating and pushing bytes
pub hidden
bendn 13 days ago
parent 0916a59 · commit 7cd9e9d
-rw-r--r--Cargo.toml1
-rw-r--r--LICENSE2
-rw-r--r--src/lib.rs6
3 files changed, 6 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8b3c186..84fe9c5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,3 +14,4 @@ keywords = ["data", "read", "write", "io"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
+
diff --git a/LICENSE b/LICENSE
index 2f002a4..8c33164 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2024 bendn
+Copyright (c) 2026 bendn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/src/lib.rs b/src/lib.rs
index 9c661bd..62b2cbc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -66,7 +66,8 @@ macro_rules! trt {
note = "read to [u8; N] first and then parse it",
label = "unreadable type"
)]
- trait Readable
+ #[doc(hidden)]
+ pub trait Readable
where
Self: Sized,
{
@@ -103,7 +104,8 @@ macro_rules! trt {
note = "turn it into a &[u8] first and then write that",
label = "unwritable type",
)]
- trait Writable {
+ #[doc(hidden)]
+ pub trait Writable {
fn _w(self, to: &mut impl Write) -> Result<()>;
}