Rebrand subxt to pezkuwi-subxt with pezsp_runtime support

- Renamed all crate names from subxt-* to pezkuwi-subxt-*
- Updated codegen to use pezsp_runtime, pezsp_core, pezframe_support instead of sp_runtime, sp_core, frame_support
- Replaced all internal references from subxt_* to pezkuwi_subxt_*
- Added local path dependencies to Pezkuwi SDK crates
- Updated workspace configuration for edition 2024
This commit is contained in:
2025-12-19 16:00:14 +03:00
parent a2080bf1f7
commit b8ee6a084f
147 changed files with 11303 additions and 11581 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ use super::{RawRpcFuture, RawRpcSubscription, RpcClientT};
use crate::Error;
use futures::stream::{StreamExt, TryStreamExt};
use serde_json::value::RawValue;
use subxt_lightclient::{LightClientRpc, LightClientRpcError};
use pezkuwi_subxt_lightclient::{LightClientRpc, LightClientRpcError};
impl RpcClientT for LightClientRpc {
fn request_raw<'a>(
+2 -2
View File
@@ -7,8 +7,8 @@
//! # Example
//!
//! ```rust
//! use subxt_rpcs::client::{ RpcClient, MockRpcClient };
//! use subxt_rpcs::client::mock_rpc_client::Json;
//! use pezkuwi_subxt_rpcs::client::{ RpcClient, MockRpcClient };
//! use pezkuwi_subxt_rpcs::client::mock_rpc_client::Json;
//!
//! let mut state = vec![
//! Json(1u8),
+2 -2
View File
@@ -33,8 +33,8 @@ crate::macros::cfg_jsonrpsee! {
crate::macros::cfg_unstable_light_client! {
mod lightclient_impl;
pub use subxt_lightclient::LightClientRpc as LightClientRpcClient;
pub use subxt_lightclient::LightClient;
pub use pezkuwi_subxt_lightclient::LightClientRpc as LightClientRpcClient;
pub use pezkuwi_subxt_lightclient::LightClient;
}
crate::macros::cfg_reconnecting_rpc_client! {
+1 -1
View File
@@ -9,7 +9,7 @@
//!
//! ```rust,no_run
//! # async fn foo() -> Result<(), Box<dyn std::error::Error>> {
//! use subxt_rpcs::client::{RpcClient, RoundRobinRpcClient, jsonrpsee_client};
//! use pezkuwi_subxt_rpcs::client::{RpcClient, RoundRobinRpcClient, jsonrpsee_client};
//!
//! // Construct some RpcClients (we'll make some jsonrpsee clients here, but
//! // you could use anything which implements `RpcClientT`).
+2 -2
View File
@@ -107,7 +107,7 @@ impl std::ops::Deref for RpcClient {
/// # Example
///
/// ```rust,standalone_crate
/// use subxt_rpcs::client::{ rpc_params, RpcParams };
/// use pezkuwi_subxt_rpcs::client::{ rpc_params, RpcParams };
///
/// // If you provide no params you get `None` back
/// let params: RpcParams = rpc_params![];
@@ -139,7 +139,7 @@ pub use rpc_params;
/// # Example
///
/// ```rust,standalone_crate
/// use subxt_rpcs::client::RpcParams;
/// use pezkuwi_subxt_rpcs::client::RpcParams;
///
/// let mut params = RpcParams::new();
/// params.push(1).unwrap();
+2 -2
View File
@@ -67,11 +67,11 @@ impl<T> AccountId for T where T: serde::Serialize {}
#[cfg(feature = "subxt")]
mod impl_config {
use super::*;
use subxt_core::config::HashFor;
use pezkuwi_subxt_core::config::HashFor;
impl<T> RpcConfig for T
where
T: subxt_core::Config,
T: pezkuwi_subxt_core::Config,
{
type Header = T::Header;
type Hash = HashFor<T>;