Prep to release v0.42.0 (#2003)

* Prep to release v0.42.0

* Remove test_context reference from example

* standalone_crate for doc tests because codegen is expensive

* fmt
This commit is contained in:
James Wilson
2025-05-12 10:32:38 +01:00
committed by GitHub
parent 23c62f3d5d
commit 7de8d36806
27 changed files with 162 additions and 61 deletions
+4 -4
View File
@@ -48,7 +48,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ SecretUri, ecdsa::Keypair };
/// use std::str::FromStr;
///
@@ -84,7 +84,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, ecdsa::Keypair };
///
/// let phrase = "bottom drive obey lake curtain smoke basket hold race lonely fit walk";
@@ -122,7 +122,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, ecdsa::Keypair, DeriveJunction };
///
/// let phrase = "bottom drive obey lake curtain smoke basket hold race lonely fit walk";
@@ -178,7 +178,7 @@ impl Keypair {
/// Verify that some signature for a message was created by the owner of the [`PublicKey`].
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, ecdsa };
///
/// let keypair = ecdsa::dev::alice();
+2 -2
View File
@@ -46,7 +46,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, eth::{ Keypair, DerivationPath } };
///
/// let phrase = "bottom drive obey lake curtain smoke basket hold race lonely fit walk";
@@ -175,7 +175,7 @@ impl AsRef<[u8; 65]> for Signature {
/// Verify that some signature for a message was created by the owner of the [`PublicKey`].
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, eth };
///
/// let keypair = eth::dev::alith();
+4 -4
View File
@@ -58,7 +58,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ SecretUri, sr25519::Keypair };
/// use std::str::FromStr;
///
@@ -94,7 +94,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, sr25519::Keypair };
///
/// let phrase = "bottom drive obey lake curtain smoke basket hold race lonely fit walk";
@@ -144,7 +144,7 @@ impl Keypair {
///
/// # Example
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, sr25519::Keypair, DeriveJunction };
///
/// let phrase = "bottom drive obey lake curtain smoke basket hold race lonely fit walk";
@@ -186,7 +186,7 @@ impl Keypair {
/// Verify that some signature for a message was created by the owner of the [`PublicKey`].
///
/// ```rust
/// ```rust,standalone_crate
/// use subxt_signer::{ bip39::Mnemonic, sr25519 };
///
/// let keypair = sr25519::dev::alice();