network: enable prerelease and api checks
What changed, and why it matters
This commit is purely a build and release hygiene change. It turns on two automated checks for the `network` crate—one that verifies the crate's public API surface before release, and one that validates pre-release metadata. It also adds the generated API snapshot files to the crate's exclusion list so they are not accidentally published. There is no change to runtime code, no bug fix, and no security-relevant behavior change.
No action required. This is a tooling-only change and does not affect security posture.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies network/Cargo.toml to add enabled = true for package.metadata.rbmt.api and package.metadata.rbmt.prerelease, plus an api feature matrix. It also adds api to the exclude list and creates three API snapshot files (all-features.txt, alloc-only.txt, no-features.txt) that enumerate the public API of bitcoin_network_kind. These are static artifacts used by the rust-bitcoin-maintainer-tools (rbmt) workflow to detect unintended API changes. No source code, logic, or dependency changes are present.
Changed components
network/Cargo.tomlnetwork/api/all-features.txtnetwork/api/alloc-only.txtnetwork/api/no-features.txtInspect captured patch +612 / −1
diff --git a/network/Cargo.toml b/network/Cargo.toml
index 5340a8be..4c43088e 100644
--- a/network/Cargo.toml
+++ b/network/Cargo.toml
@@ -11,7 +11,7 @@ keywords = ["bitcoin", "types"]
readme = "README.md"
edition = "2021"
rust-version = "1.74.0"
-exclude = ["tests", "contrib"]
+exclude = ["api", "tests", "contrib"]
[features]
default = ["std"]
@@ -34,3 +34,10 @@ rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true
+
+[package.metadata.rbmt.api]
+enabled = true
+features = [["alloc"]]
+
+[package.metadata.rbmt.prerelease]
+enabled = true
diff --git a/network/api/all-features.txt b/network/api/all-features.txt
new file mode 100644
index 00000000..f6667a0c
--- /dev/null
+++ b/network/api/all-features.txt
@@ -0,0 +1,220 @@
+pub mod bitcoin_network_kind
+pub extern crate bitcoin_network_kind::serde
+pub mod bitcoin_network_kind::as_core_arg
+pub fn bitcoin_network_kind::as_core_arg::deserialize<'de, D>(deserializer: D) -> core::result::Result<bitcoin_network_kind::Network, <D as serde::de::Deserializer>::Error> where D: serde::de::Deserializer<'de>
+pub fn bitcoin_network_kind::as_core_arg::serialize<S>(network: &bitcoin_network_kind::Network, serializer: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
+pub mod bitcoin_network_kind::error
+#[non_exhaustive] pub struct bitcoin_network_kind::error::ParseNetworkError(_)
+impl core::clone::Clone for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::clone(&self) -> bitcoin_network_kind::error::ParseNetworkError
+impl core::cmp::Eq for bitcoin_network_kind::error::ParseNetworkError
+impl core::cmp::PartialEq for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::eq(&self, other: &bitcoin_network_kind::error::ParseNetworkError) -> bool
+impl core::error::Error for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
+impl core::fmt::Debug for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::fmt::Display for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Freeze for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Send for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Sync for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Unpin for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::error::ParseNetworkError
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::error::ParseNetworkError
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::error::ParseNetworkError
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::From<T>
+pub fn bitcoin_network_kind::error::ParseNetworkError::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::Into<T>
+pub type bitcoin_network_kind::error::ParseNetworkError::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::error::ParseNetworkError::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::error::ParseNetworkError::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::error::ParseNetworkError::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::error::ParseNetworkError where T: core::clone::Clone
+pub type bitcoin_network_kind::error::ParseNetworkError::Owned = T
+pub fn bitcoin_network_kind::error::ParseNetworkError::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::error::ParseNetworkError::to_owned(&self) -> T
+impl<T> alloc::string::ToString for bitcoin_network_kind::error::ParseNetworkError where T: core::fmt::Display + ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::to_string(&self) -> alloc::string::String
+impl<T> core::any::Any for bitcoin_network_kind::error::ParseNetworkError where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::error::ParseNetworkError where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::error::ParseNetworkError where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::error::ParseNetworkError where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::error::ParseNetworkError::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::from(t: T) -> T
+pub enum bitcoin_network_kind::Network
+pub bitcoin_network_kind::Network::Bitcoin
+pub bitcoin_network_kind::Network::Regtest
+pub bitcoin_network_kind::Network::Signet
+pub bitcoin_network_kind::Network::Testnet(bitcoin_network_kind::TestnetVersion)
+impl bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::from_core_arg(core_arg: &str) -> core::result::Result<Self, bitcoin_network_kind::error::ParseNetworkError>
+pub fn bitcoin_network_kind::Network::to_core_arg(self) -> &'static str
+impl core::clone::Clone for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::clone(&self) -> bitcoin_network_kind::Network
+impl core::cmp::Eq for bitcoin_network_kind::Network
+impl core::cmp::Ord for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::cmp(&self, other: &bitcoin_network_kind::Network) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::eq(&self, other: &bitcoin_network_kind::Network) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::partial_cmp(&self, other: &bitcoin_network_kind::Network) -> core::option::Option<core::cmp::Ordering>
+impl core::convert::AsRef<bitcoin_network_kind::Network> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::as_ref(&self) -> &Self
+impl core::convert::From<bitcoin_network_kind::Network> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::from(network: bitcoin_network_kind::Network) -> Self
+impl core::fmt::Debug for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::fmt::Display for bitcoin_network_kind::Network
+impl core::hash::Hash for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::Network
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::Network
+impl core::str::traits::FromStr for bitcoin_network_kind::Network
+pub type bitcoin_network_kind::Network::Err = bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::Network::from_str(s: &str) -> core::result::Result<Self, Self::Err>
+impl serde::ser::Serialize for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::serialize<S>(&self, serializer: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
+impl<'de> serde::de::Deserialize<'de> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::deserialize<D>(deserializer: D) -> core::result::Result<Self, <D as serde::de::Deserializer>::Error> where D: serde::de::Deserializer<'de>
+impl core::marker::Freeze for bitcoin_network_kind::Network
+impl core::marker::Send for bitcoin_network_kind::Network
+impl core::marker::Sync for bitcoin_network_kind::Network
+impl core::marker::Unpin for bitcoin_network_kind::Network
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::Network
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::Network
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::Network
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::Network where U: core::convert::From<T>
+pub fn bitcoin_network_kind::Network::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::Network where U: core::convert::Into<T>
+pub type bitcoin_network_kind::Network::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::Network::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::Network where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::Network::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::Network::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::Network where T: core::clone::Clone
+pub type bitcoin_network_kind::Network::Owned = T
+pub fn bitcoin_network_kind::Network::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::Network::to_owned(&self) -> T
+impl<T> alloc::string::ToString for bitcoin_network_kind::Network where T: core::fmt::Display + ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::to_string(&self) -> alloc::string::String
+impl<T> core::any::Any for bitcoin_network_kind::Network where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::Network where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::Network where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::Network where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::Network::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::from(t: T) -> T
+impl<T> serde::de::DeserializeOwned for bitcoin_network_kind::Network where T: for<'de> serde::de::Deserialize<'de>
+pub enum bitcoin_network_kind::NetworkKind
+pub bitcoin_network_kind::NetworkKind::Main
+pub bitcoin_network_kind::NetworkKind::Test
+impl bitcoin_network_kind::NetworkKind
+pub const fn bitcoin_network_kind::NetworkKind::is_mainnet(self) -> bool
+impl core::clone::Clone for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::clone(&self) -> bitcoin_network_kind::NetworkKind
+impl core::cmp::Eq for bitcoin_network_kind::NetworkKind
+impl core::cmp::Ord for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::cmp(&self, other: &bitcoin_network_kind::NetworkKind) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::eq(&self, other: &bitcoin_network_kind::NetworkKind) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::partial_cmp(&self, other: &bitcoin_network_kind::NetworkKind) -> core::option::Option<core::cmp::Ordering>
+impl core::fmt::Debug for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::NetworkKind
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::NetworkKind
+impl serde::ser::Serialize for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer
+impl<'a> arbitrary::Arbitrary<'a> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
+impl<'de> serde::de::Deserialize<'de> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::deserialize<__D>(__deserializer: __D) -> core::result::Result<Self, <__D as serde::de::Deserializer>::Error> where __D: serde::de::Deserializer<'de>
+impl core::marker::Freeze for bitcoin_network_kind::NetworkKind
+impl core::marker::Send for bitcoin_network_kind::NetworkKind
+impl core::marker::Sync for bitcoin_network_kind::NetworkKind
+impl core::marker::Unpin for bitcoin_network_kind::NetworkKind
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::NetworkKind
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::NetworkKind
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::NetworkKind
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::NetworkKind where U: core::convert::From<T>
+pub fn bitcoin_network_kind::NetworkKind::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::NetworkKind where U: core::convert::Into<T>
+pub type bitcoin_network_kind::NetworkKind::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::NetworkKind::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::NetworkKind where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::NetworkKind::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::NetworkKind::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::NetworkKind where T: core::clone::Clone
+pub type bitcoin_network_kind::NetworkKind::Owned = T
+pub fn bitcoin_network_kind::NetworkKind::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::NetworkKind::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_network_kind::NetworkKind where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::NetworkKind where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::NetworkKind where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::NetworkKind where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::NetworkKind::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::from(t: T) -> T
+impl<T> serde::de::DeserializeOwned for bitcoin_network_kind::NetworkKind where T: for<'de> serde::de::Deserialize<'de>
+#[non_exhaustive] pub enum bitcoin_network_kind::TestnetVersion
+pub bitcoin_network_kind::TestnetVersion::V3
+pub bitcoin_network_kind::TestnetVersion::V4
+impl core::clone::Clone for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::clone(&self) -> bitcoin_network_kind::TestnetVersion
+impl core::cmp::Eq for bitcoin_network_kind::TestnetVersion
+impl core::cmp::Ord for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::cmp(&self, other: &bitcoin_network_kind::TestnetVersion) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::eq(&self, other: &bitcoin_network_kind::TestnetVersion) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::partial_cmp(&self, other: &bitcoin_network_kind::TestnetVersion) -> core::option::Option<core::cmp::Ordering>
+impl core::fmt::Debug for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::TestnetVersion
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::TestnetVersion
+impl core::marker::Freeze for bitcoin_network_kind::TestnetVersion
+impl core::marker::Send for bitcoin_network_kind::TestnetVersion
+impl core::marker::Sync for bitcoin_network_kind::TestnetVersion
+impl core::marker::Unpin for bitcoin_network_kind::TestnetVersion
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::TestnetVersion
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::TestnetVersion
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::TestnetVersion
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::From<T>
+pub fn bitcoin_network_kind::TestnetVersion::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::Into<T>
+pub type bitcoin_network_kind::TestnetVersion::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::TestnetVersion::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::TestnetVersion::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::TestnetVersion::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::TestnetVersion where T: core::clone::Clone
+pub type bitcoin_network_kind::TestnetVersion::Owned = T
+pub fn bitcoin_network_kind::TestnetVersion::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::TestnetVersion::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_network_kind::TestnetVersion where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::TestnetVersion where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::TestnetVersion where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::TestnetVersion where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::TestnetVersion::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::from(t: T) -> T
+#[non_exhaustive] pub struct bitcoin_network_kind::ParseNetworkError(_)
\ No newline at end of file
diff --git a/network/api/alloc-only.txt b/network/api/alloc-only.txt
new file mode 100644
index 00000000..cdaa0e5c
--- /dev/null
+++ b/network/api/alloc-only.txt
@@ -0,0 +1,202 @@
+pub mod bitcoin_network_kind
+pub mod bitcoin_network_kind::error
+#[non_exhaustive] pub struct bitcoin_network_kind::error::ParseNetworkError(_)
+impl core::clone::Clone for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::clone(&self) -> bitcoin_network_kind::error::ParseNetworkError
+impl core::cmp::Eq for bitcoin_network_kind::error::ParseNetworkError
+impl core::cmp::PartialEq for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::eq(&self, other: &bitcoin_network_kind::error::ParseNetworkError) -> bool
+impl core::fmt::Debug for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::fmt::Display for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Freeze for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Send for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Sync for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Unpin for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::error::ParseNetworkError
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::error::ParseNetworkError
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::error::ParseNetworkError
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::From<T>
+pub fn bitcoin_network_kind::error::ParseNetworkError::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::Into<T>
+pub type bitcoin_network_kind::error::ParseNetworkError::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::error::ParseNetworkError::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::error::ParseNetworkError::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::error::ParseNetworkError::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::error::ParseNetworkError where T: core::clone::Clone
+pub type bitcoin_network_kind::error::ParseNetworkError::Owned = T
+pub fn bitcoin_network_kind::error::ParseNetworkError::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::error::ParseNetworkError::to_owned(&self) -> T
+impl<T> alloc::string::ToString for bitcoin_network_kind::error::ParseNetworkError where T: core::fmt::Display + ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::to_string(&self) -> alloc::string::String
+impl<T> core::any::Any for bitcoin_network_kind::error::ParseNetworkError where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::error::ParseNetworkError where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::error::ParseNetworkError where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::error::ParseNetworkError where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::error::ParseNetworkError::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::from(t: T) -> T
+pub enum bitcoin_network_kind::Network
+pub bitcoin_network_kind::Network::Bitcoin
+pub bitcoin_network_kind::Network::Regtest
+pub bitcoin_network_kind::Network::Signet
+pub bitcoin_network_kind::Network::Testnet(bitcoin_network_kind::TestnetVersion)
+impl bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::from_core_arg(core_arg: &str) -> core::result::Result<Self, bitcoin_network_kind::error::ParseNetworkError>
+pub fn bitcoin_network_kind::Network::to_core_arg(self) -> &'static str
+impl core::clone::Clone for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::clone(&self) -> bitcoin_network_kind::Network
+impl core::cmp::Eq for bitcoin_network_kind::Network
+impl core::cmp::Ord for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::cmp(&self, other: &bitcoin_network_kind::Network) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::eq(&self, other: &bitcoin_network_kind::Network) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::partial_cmp(&self, other: &bitcoin_network_kind::Network) -> core::option::Option<core::cmp::Ordering>
+impl core::convert::AsRef<bitcoin_network_kind::Network> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::as_ref(&self) -> &Self
+impl core::convert::From<bitcoin_network_kind::Network> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::from(network: bitcoin_network_kind::Network) -> Self
+impl core::fmt::Debug for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::fmt::Display for bitcoin_network_kind::Network
+impl core::hash::Hash for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::Network
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::Network
+impl core::str::traits::FromStr for bitcoin_network_kind::Network
+pub type bitcoin_network_kind::Network::Err = bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::Network::from_str(s: &str) -> core::result::Result<Self, Self::Err>
+impl core::marker::Freeze for bitcoin_network_kind::Network
+impl core::marker::Send for bitcoin_network_kind::Network
+impl core::marker::Sync for bitcoin_network_kind::Network
+impl core::marker::Unpin for bitcoin_network_kind::Network
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::Network
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::Network
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::Network
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::Network where U: core::convert::From<T>
+pub fn bitcoin_network_kind::Network::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::Network where U: core::convert::Into<T>
+pub type bitcoin_network_kind::Network::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::Network::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::Network where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::Network::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::Network::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::Network where T: core::clone::Clone
+pub type bitcoin_network_kind::Network::Owned = T
+pub fn bitcoin_network_kind::Network::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::Network::to_owned(&self) -> T
+impl<T> alloc::string::ToString for bitcoin_network_kind::Network where T: core::fmt::Display + ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::to_string(&self) -> alloc::string::String
+impl<T> core::any::Any for bitcoin_network_kind::Network where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::Network where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::Network where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::Network where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::Network::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::from(t: T) -> T
+pub enum bitcoin_network_kind::NetworkKind
+pub bitcoin_network_kind::NetworkKind::Main
+pub bitcoin_network_kind::NetworkKind::Test
+impl bitcoin_network_kind::NetworkKind
+pub const fn bitcoin_network_kind::NetworkKind::is_mainnet(self) -> bool
+impl core::clone::Clone for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::clone(&self) -> bitcoin_network_kind::NetworkKind
+impl core::cmp::Eq for bitcoin_network_kind::NetworkKind
+impl core::cmp::Ord for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::cmp(&self, other: &bitcoin_network_kind::NetworkKind) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::eq(&self, other: &bitcoin_network_kind::NetworkKind) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::partial_cmp(&self, other: &bitcoin_network_kind::NetworkKind) -> core::option::Option<core::cmp::Ordering>
+impl core::fmt::Debug for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::NetworkKind
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::NetworkKind
+impl core::marker::Freeze for bitcoin_network_kind::NetworkKind
+impl core::marker::Send for bitcoin_network_kind::NetworkKind
+impl core::marker::Sync for bitcoin_network_kind::NetworkKind
+impl core::marker::Unpin for bitcoin_network_kind::NetworkKind
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::NetworkKind
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::NetworkKind
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::NetworkKind
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::NetworkKind where U: core::convert::From<T>
+pub fn bitcoin_network_kind::NetworkKind::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::NetworkKind where U: core::convert::Into<T>
+pub type bitcoin_network_kind::NetworkKind::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::NetworkKind::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::NetworkKind where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::NetworkKind::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::NetworkKind::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::NetworkKind where T: core::clone::Clone
+pub type bitcoin_network_kind::NetworkKind::Owned = T
+pub fn bitcoin_network_kind::NetworkKind::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::NetworkKind::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_network_kind::NetworkKind where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::NetworkKind where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::NetworkKind where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::NetworkKind where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::NetworkKind::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::from(t: T) -> T
+#[non_exhaustive] pub enum bitcoin_network_kind::TestnetVersion
+pub bitcoin_network_kind::TestnetVersion::V3
+pub bitcoin_network_kind::TestnetVersion::V4
+impl core::clone::Clone for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::clone(&self) -> bitcoin_network_kind::TestnetVersion
+impl core::cmp::Eq for bitcoin_network_kind::TestnetVersion
+impl core::cmp::Ord for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::cmp(&self, other: &bitcoin_network_kind::TestnetVersion) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::eq(&self, other: &bitcoin_network_kind::TestnetVersion) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::partial_cmp(&self, other: &bitcoin_network_kind::TestnetVersion) -> core::option::Option<core::cmp::Ordering>
+impl core::fmt::Debug for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::TestnetVersion
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::TestnetVersion
+impl core::marker::Freeze for bitcoin_network_kind::TestnetVersion
+impl core::marker::Send for bitcoin_network_kind::TestnetVersion
+impl core::marker::Sync for bitcoin_network_kind::TestnetVersion
+impl core::marker::Unpin for bitcoin_network_kind::TestnetVersion
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::TestnetVersion
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::TestnetVersion
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::TestnetVersion
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::From<T>
+pub fn bitcoin_network_kind::TestnetVersion::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::Into<T>
+pub type bitcoin_network_kind::TestnetVersion::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::TestnetVersion::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::TestnetVersion::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::TestnetVersion::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_network_kind::TestnetVersion where T: core::clone::Clone
+pub type bitcoin_network_kind::TestnetVersion::Owned = T
+pub fn bitcoin_network_kind::TestnetVersion::clone_into(&self, target: &mut T)
+pub fn bitcoin_network_kind::TestnetVersion::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_network_kind::TestnetVersion where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::TestnetVersion where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::TestnetVersion where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::TestnetVersion where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::TestnetVersion::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::from(t: T) -> T
+#[non_exhaustive] pub struct bitcoin_network_kind::ParseNetworkError(_)
\ No newline at end of file
diff --git a/network/api/no-features.txt b/network/api/no-features.txt
new file mode 100644
index 00000000..1563b590
--- /dev/null
+++ b/network/api/no-features.txt
@@ -0,0 +1,182 @@
+pub mod bitcoin_network_kind
+pub mod bitcoin_network_kind::error
+#[non_exhaustive] pub struct bitcoin_network_kind::error::ParseNetworkError(_)
+impl core::clone::Clone for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::clone(&self) -> bitcoin_network_kind::error::ParseNetworkError
+impl core::cmp::Eq for bitcoin_network_kind::error::ParseNetworkError
+impl core::cmp::PartialEq for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::eq(&self, other: &bitcoin_network_kind::error::ParseNetworkError) -> bool
+impl core::fmt::Debug for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::fmt::Display for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Freeze for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Send for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Sync for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::Unpin for bitcoin_network_kind::error::ParseNetworkError
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::error::ParseNetworkError
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::error::ParseNetworkError
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::error::ParseNetworkError
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::From<T>
+pub fn bitcoin_network_kind::error::ParseNetworkError::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::Into<T>
+pub type bitcoin_network_kind::error::ParseNetworkError::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::error::ParseNetworkError::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::error::ParseNetworkError where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::error::ParseNetworkError::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::error::ParseNetworkError::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> core::any::Any for bitcoin_network_kind::error::ParseNetworkError where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::error::ParseNetworkError where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::error::ParseNetworkError where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::error::ParseNetworkError::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::error::ParseNetworkError where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::error::ParseNetworkError::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::from(t: T) -> T
+pub enum bitcoin_network_kind::Network
+pub bitcoin_network_kind::Network::Bitcoin
+pub bitcoin_network_kind::Network::Regtest
+pub bitcoin_network_kind::Network::Signet
+pub bitcoin_network_kind::Network::Testnet(bitcoin_network_kind::TestnetVersion)
+impl bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::from_core_arg(core_arg: &str) -> core::result::Result<Self, bitcoin_network_kind::error::ParseNetworkError>
+pub fn bitcoin_network_kind::Network::to_core_arg(self) -> &'static str
+impl core::clone::Clone for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::clone(&self) -> bitcoin_network_kind::Network
+impl core::cmp::Eq for bitcoin_network_kind::Network
+impl core::cmp::Ord for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::cmp(&self, other: &bitcoin_network_kind::Network) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::eq(&self, other: &bitcoin_network_kind::Network) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::partial_cmp(&self, other: &bitcoin_network_kind::Network) -> core::option::Option<core::cmp::Ordering>
+impl core::convert::AsRef<bitcoin_network_kind::Network> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::as_ref(&self) -> &Self
+impl core::convert::From<bitcoin_network_kind::Network> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::from(network: bitcoin_network_kind::Network) -> Self
+impl core::fmt::Debug for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::fmt::Display for bitcoin_network_kind::Network
+impl core::hash::Hash for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::Network
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::Network
+impl core::str::traits::FromStr for bitcoin_network_kind::Network
+pub type bitcoin_network_kind::Network::Err = bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::Network::from_str(s: &str) -> core::result::Result<Self, Self::Err>
+impl core::marker::Freeze for bitcoin_network_kind::Network
+impl core::marker::Send for bitcoin_network_kind::Network
+impl core::marker::Sync for bitcoin_network_kind::Network
+impl core::marker::Unpin for bitcoin_network_kind::Network
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::Network
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::Network
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::Network
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::Network where U: core::convert::From<T>
+pub fn bitcoin_network_kind::Network::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::Network where U: core::convert::Into<T>
+pub type bitcoin_network_kind::Network::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::Network::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::Network where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::Network::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::Network::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> core::any::Any for bitcoin_network_kind::Network where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::Network where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::Network where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::Network::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::Network where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::Network::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::Network
+pub fn bitcoin_network_kind::Network::from(t: T) -> T
+pub enum bitcoin_network_kind::NetworkKind
+pub bitcoin_network_kind::NetworkKind::Main
+pub bitcoin_network_kind::NetworkKind::Test
+impl bitcoin_network_kind::NetworkKind
+pub const fn bitcoin_network_kind::NetworkKind::is_mainnet(self) -> bool
+impl core::clone::Clone for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::clone(&self) -> bitcoin_network_kind::NetworkKind
+impl core::cmp::Eq for bitcoin_network_kind::NetworkKind
+impl core::cmp::Ord for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::cmp(&self, other: &bitcoin_network_kind::NetworkKind) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::eq(&self, other: &bitcoin_network_kind::NetworkKind) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::partial_cmp(&self, other: &bitcoin_network_kind::NetworkKind) -> core::option::Option<core::cmp::Ordering>
+impl core::fmt::Debug for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::NetworkKind
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::NetworkKind
+impl core::marker::Freeze for bitcoin_network_kind::NetworkKind
+impl core::marker::Send for bitcoin_network_kind::NetworkKind
+impl core::marker::Sync for bitcoin_network_kind::NetworkKind
+impl core::marker::Unpin for bitcoin_network_kind::NetworkKind
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::NetworkKind
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::NetworkKind
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::NetworkKind
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::NetworkKind where U: core::convert::From<T>
+pub fn bitcoin_network_kind::NetworkKind::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::NetworkKind where U: core::convert::Into<T>
+pub type bitcoin_network_kind::NetworkKind::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::NetworkKind::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::NetworkKind where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::NetworkKind::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::NetworkKind::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> core::any::Any for bitcoin_network_kind::NetworkKind where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::NetworkKind where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::NetworkKind where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::NetworkKind::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::NetworkKind where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::NetworkKind::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::NetworkKind
+pub fn bitcoin_network_kind::NetworkKind::from(t: T) -> T
+#[non_exhaustive] pub enum bitcoin_network_kind::TestnetVersion
+pub bitcoin_network_kind::TestnetVersion::V3
+pub bitcoin_network_kind::TestnetVersion::V4
+impl core::clone::Clone for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::clone(&self) -> bitcoin_network_kind::TestnetVersion
+impl core::cmp::Eq for bitcoin_network_kind::TestnetVersion
+impl core::cmp::Ord for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::cmp(&self, other: &bitcoin_network_kind::TestnetVersion) -> core::cmp::Ordering
+impl core::cmp::PartialEq for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::eq(&self, other: &bitcoin_network_kind::TestnetVersion) -> bool
+impl core::cmp::PartialOrd for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::partial_cmp(&self, other: &bitcoin_network_kind::TestnetVersion) -> core::option::Option<core::cmp::Ordering>
+impl core::fmt::Debug for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::hash::Hash for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
+impl core::marker::Copy for bitcoin_network_kind::TestnetVersion
+impl core::marker::StructuralPartialEq for bitcoin_network_kind::TestnetVersion
+impl core::marker::Freeze for bitcoin_network_kind::TestnetVersion
+impl core::marker::Send for bitcoin_network_kind::TestnetVersion
+impl core::marker::Sync for bitcoin_network_kind::TestnetVersion
+impl core::marker::Unpin for bitcoin_network_kind::TestnetVersion
+impl core::marker::UnsafeUnpin for bitcoin_network_kind::TestnetVersion
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_network_kind::TestnetVersion
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_network_kind::TestnetVersion
+impl<T, U> core::convert::Into<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::From<T>
+pub fn bitcoin_network_kind::TestnetVersion::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::Into<T>
+pub type bitcoin_network_kind::TestnetVersion::Error = core::convert::Infallible
+pub fn bitcoin_network_kind::TestnetVersion::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_network_kind::TestnetVersion where U: core::convert::TryFrom<T>
+pub type bitcoin_network_kind::TestnetVersion::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_network_kind::TestnetVersion::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> core::any::Any for bitcoin_network_kind::TestnetVersion where T: 'static + ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_network_kind::TestnetVersion where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_network_kind::TestnetVersion where T: ?core::marker::Sized
+pub fn bitcoin_network_kind::TestnetVersion::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_network_kind::TestnetVersion where T: core::clone::Clone
+pub unsafe fn bitcoin_network_kind::TestnetVersion::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_network_kind::TestnetVersion
+pub fn bitcoin_network_kind::TestnetVersion::from(t: T) -> T
+#[non_exhaustive] pub struct bitcoin_network_kind::ParseNetworkError(_)
\ No newline at end of file
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.