From a18d28761b9f6ce3bd06ba72b9afe11773b7443d Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 6 Jan 2025 15:37:24 +1100 Subject: [PATCH] api: Run just check-api --- api/io/all-features.txt | 10 ++++++++++ api/io/alloc-only.txt | 6 ++++++ api/io/no-features.txt | 6 ++++++ 3 files changed, 22 insertions(+) diff --git a/api/io/all-features.txt b/api/io/all-features.txt index 055e6305d..fe3da3040 100644 --- a/api/io/all-features.txt +++ b/api/io/all-features.txt @@ -56,6 +56,7 @@ impl core::convert::From for bitcoin_io::Error impl core::error::Error for bitcoin_io::Error impl core::fmt::Debug for bitcoin_io::Error impl core::fmt::Debug for bitcoin_io::ErrorKind +impl core::fmt::Debug for bitcoin_io::Sink impl core::fmt::Display for bitcoin_io::Error impl core::hash::Hash for bitcoin_io::ErrorKind impl core::marker::Copy for bitcoin_io::ErrorKind @@ -76,6 +77,7 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_io::Sink impl core::panic::unwind_safe::UnwindSafe for bitcoin_io::ErrorKind impl core::panic::unwind_safe::UnwindSafe for bitcoin_io::Sink impl std::io::Write for bitcoin_io::Sink +impl<'a, R: core::fmt::Debug + bitcoin_io::Read + ?core::marker::Sized> core::fmt::Debug for bitcoin_io::Take<'a, R> impl<'a, R> !core::panic::unwind_safe::UnwindSafe for bitcoin_io::Take<'a, R> impl<'a, R> core::marker::Freeze for bitcoin_io::Take<'a, R> where R: ?core::marker::Sized impl<'a, R> core::marker::Send for bitcoin_io::Take<'a, R> where R: core::marker::Send + ?core::marker::Sized @@ -105,6 +107,9 @@ impl> bitcoin_io::BufRead for std::io::cursor::Cur impl> bitcoin_io::Cursor impl> bitcoin_io::Read for bitcoin_io::Cursor impl> bitcoin_io::Read for std::io::cursor::Cursor +impl core::fmt::Debug for bitcoin_io::Cursor +impl core::fmt::Debug for bitcoin_io::FromStd +impl core::fmt::Debug for bitcoin_io::ToStd impl bitcoin_io::BufRead for bitcoin_io::FromStd impl std::io::BufRead for bitcoin_io::FromStd impl bitcoin_io::Read for bitcoin_io::FromStd @@ -214,6 +219,7 @@ pub fn bitcoin_io::BufRead::consume(&mut self, amount: usize) pub fn bitcoin_io::BufRead::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::Cursor::consume(&mut self, amount: usize) pub fn bitcoin_io::Cursor::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> +pub fn bitcoin_io::Cursor::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Cursor::get_mut(&mut self) -> &mut T pub fn bitcoin_io::Cursor::get_ref(&self) -> &T pub fn bitcoin_io::Cursor::inner(&self) -> &T @@ -242,6 +248,7 @@ pub fn bitcoin_io::FromStd::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::FromStd::fill_buf(&mut self) -> std::io::error::Result<&[u8]> pub fn bitcoin_io::FromStd::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_io::FromStd::flush(&mut self) -> std::io::error::Result<()> +pub fn bitcoin_io::FromStd::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::FromStd::get_mut(&mut self) -> &mut T pub fn bitcoin_io::FromStd::get_ref(&self) -> &T pub fn bitcoin_io::FromStd::inner(&self) -> &T @@ -263,6 +270,7 @@ pub fn bitcoin_io::Read::read_to_limit(&mut self, buf: &mut alloc::vec::Vec, pub fn bitcoin_io::Read::take(&mut self, limit: u64) -> bitcoin_io::Take<'_, Self> pub fn bitcoin_io::Sink::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_io::Sink::flush(&mut self) -> std::io::error::Result<()> +pub fn bitcoin_io::Sink::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Sink::write(&mut self, buf: &[u8]) -> bitcoin_io::Result pub fn bitcoin_io::Sink::write(&mut self, buf: &[u8]) -> std::io::error::Result pub fn bitcoin_io::Sink::write_all(&mut self, _: &[u8]) -> bitcoin_io::Result<()> @@ -271,11 +279,13 @@ pub fn bitcoin_io::Take<'_, R>::consume(&mut self, amount: usize) pub fn bitcoin_io::Take<'_, R>::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::Take<'_, R>::read(&mut self, buf: &mut [u8]) -> bitcoin_io::Result pub fn bitcoin_io::Take<'_, R>::read_to_end(&mut self, buf: &mut alloc::vec::Vec) -> bitcoin_io::Result +pub fn bitcoin_io::Take<'a, R>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::ToStd::consume(&mut self, amount: usize) pub fn bitcoin_io::ToStd::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::ToStd::fill_buf(&mut self) -> std::io::error::Result<&[u8]> pub fn bitcoin_io::ToStd::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_io::ToStd::flush(&mut self) -> std::io::error::Result<()> +pub fn bitcoin_io::ToStd::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::ToStd::inner(&self) -> &T pub fn bitcoin_io::ToStd::inner_mut(&mut self) -> &mut T pub fn bitcoin_io::ToStd::into_inner(self) -> T diff --git a/api/io/alloc-only.txt b/api/io/alloc-only.txt index 572cb17e1..751069688 100644 --- a/api/io/alloc-only.txt +++ b/api/io/alloc-only.txt @@ -14,6 +14,7 @@ impl core::convert::From for bitcoin_io::Error impl core::convert::From for bitcoin_io::ErrorKind impl core::fmt::Debug for bitcoin_io::Error impl core::fmt::Debug for bitcoin_io::ErrorKind +impl core::fmt::Debug for bitcoin_io::Sink impl core::fmt::Display for bitcoin_io::Error impl core::hash::Hash for bitcoin_io::ErrorKind impl core::marker::Copy for bitcoin_io::ErrorKind @@ -33,6 +34,7 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_io::ErrorKind impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_io::Sink impl core::panic::unwind_safe::UnwindSafe for bitcoin_io::ErrorKind impl core::panic::unwind_safe::UnwindSafe for bitcoin_io::Sink +impl<'a, R: core::fmt::Debug + bitcoin_io::Read + ?core::marker::Sized> core::fmt::Debug for bitcoin_io::Take<'a, R> impl<'a, R> !core::panic::unwind_safe::UnwindSafe for bitcoin_io::Take<'a, R> impl<'a, R> core::marker::Freeze for bitcoin_io::Take<'a, R> where R: ?core::marker::Sized impl<'a, R> core::marker::Send for bitcoin_io::Take<'a, R> where R: core::marker::Send + ?core::marker::Sized @@ -48,6 +50,7 @@ impl bitcoin_io::Write for &mut T impl> bitcoin_io::BufRead for bitcoin_io::Cursor impl> bitcoin_io::Cursor impl> bitcoin_io::Read for bitcoin_io::Cursor +impl core::fmt::Debug for bitcoin_io::Cursor impl core::marker::Freeze for bitcoin_io::Cursor where T: core::marker::Freeze impl core::marker::Send for bitcoin_io::Cursor where T: core::marker::Send impl core::marker::Sync for bitcoin_io::Cursor where T: core::marker::Sync @@ -91,6 +94,7 @@ pub fn bitcoin_io::BufRead::consume(&mut self, amount: usize) pub fn bitcoin_io::BufRead::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::Cursor::consume(&mut self, amount: usize) pub fn bitcoin_io::Cursor::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> +pub fn bitcoin_io::Cursor::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Cursor::get_mut(&mut self) -> &mut T pub fn bitcoin_io::Cursor::get_ref(&self) -> &T pub fn bitcoin_io::Cursor::inner(&self) -> &T @@ -115,12 +119,14 @@ pub fn bitcoin_io::Read::read_exact(&mut self, buf: &mut [u8]) -> bitcoin_io::Re pub fn bitcoin_io::Read::read_to_limit(&mut self, buf: &mut alloc::vec::Vec, limit: u64) -> bitcoin_io::Result pub fn bitcoin_io::Read::take(&mut self, limit: u64) -> bitcoin_io::Take<'_, Self> pub fn bitcoin_io::Sink::flush(&mut self) -> bitcoin_io::Result<()> +pub fn bitcoin_io::Sink::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Sink::write(&mut self, buf: &[u8]) -> bitcoin_io::Result pub fn bitcoin_io::Sink::write_all(&mut self, _: &[u8]) -> bitcoin_io::Result<()> pub fn bitcoin_io::Take<'_, R>::consume(&mut self, amount: usize) pub fn bitcoin_io::Take<'_, R>::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::Take<'_, R>::read(&mut self, buf: &mut [u8]) -> bitcoin_io::Result pub fn bitcoin_io::Take<'_, R>::read_to_end(&mut self, buf: &mut alloc::vec::Vec) -> bitcoin_io::Result +pub fn bitcoin_io::Take<'a, R>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Write::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_io::Write::write(&mut self, buf: &[u8]) -> bitcoin_io::Result pub fn bitcoin_io::Write::write_all(&mut self, buf: &[u8]) -> bitcoin_io::Result<()> diff --git a/api/io/no-features.txt b/api/io/no-features.txt index 93613d4e6..0874dbcd9 100644 --- a/api/io/no-features.txt +++ b/api/io/no-features.txt @@ -13,6 +13,7 @@ impl core::convert::From for bitcoin_io::Error impl core::convert::From for bitcoin_io::ErrorKind impl core::fmt::Debug for bitcoin_io::Error impl core::fmt::Debug for bitcoin_io::ErrorKind +impl core::fmt::Debug for bitcoin_io::Sink impl core::fmt::Display for bitcoin_io::Error impl core::hash::Hash for bitcoin_io::ErrorKind impl core::marker::Copy for bitcoin_io::ErrorKind @@ -32,6 +33,7 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_io::ErrorKind impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_io::Sink impl core::panic::unwind_safe::UnwindSafe for bitcoin_io::ErrorKind impl core::panic::unwind_safe::UnwindSafe for bitcoin_io::Sink +impl<'a, R: core::fmt::Debug + bitcoin_io::Read + ?core::marker::Sized> core::fmt::Debug for bitcoin_io::Take<'a, R> impl<'a, R> !core::panic::unwind_safe::UnwindSafe for bitcoin_io::Take<'a, R> impl<'a, R> core::marker::Freeze for bitcoin_io::Take<'a, R> where R: ?core::marker::Sized impl<'a, R> core::marker::Send for bitcoin_io::Take<'a, R> where R: core::marker::Send + ?core::marker::Sized @@ -46,6 +48,7 @@ impl bitcoin_io::Write for &mut T impl> bitcoin_io::BufRead for bitcoin_io::Cursor impl> bitcoin_io::Cursor impl> bitcoin_io::Read for bitcoin_io::Cursor +impl core::fmt::Debug for bitcoin_io::Cursor impl core::marker::Freeze for bitcoin_io::Cursor where T: core::marker::Freeze impl core::marker::Send for bitcoin_io::Cursor where T: core::marker::Send impl core::marker::Sync for bitcoin_io::Cursor where T: core::marker::Sync @@ -87,6 +90,7 @@ pub fn bitcoin_io::BufRead::consume(&mut self, amount: usize) pub fn bitcoin_io::BufRead::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::Cursor::consume(&mut self, amount: usize) pub fn bitcoin_io::Cursor::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> +pub fn bitcoin_io::Cursor::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Cursor::get_mut(&mut self) -> &mut T pub fn bitcoin_io::Cursor::get_ref(&self) -> &T pub fn bitcoin_io::Cursor::inner(&self) -> &T @@ -108,11 +112,13 @@ pub fn bitcoin_io::Read::read(&mut self, buf: &mut [u8]) -> bitcoin_io::Result bitcoin_io::Result<()> pub fn bitcoin_io::Read::take(&mut self, limit: u64) -> bitcoin_io::Take<'_, Self> pub fn bitcoin_io::Sink::flush(&mut self) -> bitcoin_io::Result<()> +pub fn bitcoin_io::Sink::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Sink::write(&mut self, buf: &[u8]) -> bitcoin_io::Result pub fn bitcoin_io::Sink::write_all(&mut self, _: &[u8]) -> bitcoin_io::Result<()> pub fn bitcoin_io::Take<'_, R>::consume(&mut self, amount: usize) pub fn bitcoin_io::Take<'_, R>::fill_buf(&mut self) -> bitcoin_io::Result<&[u8]> pub fn bitcoin_io::Take<'_, R>::read(&mut self, buf: &mut [u8]) -> bitcoin_io::Result +pub fn bitcoin_io::Take<'a, R>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_io::Write::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_io::Write::write(&mut self, buf: &[u8]) -> bitcoin_io::Result pub fn bitcoin_io::Write::write_all(&mut self, buf: &[u8]) -> bitcoin_io::Result<()>