v0.2.7-pre.009

This commit is contained in:
2026-08-22 23:08:47 +02:00
parent 93199d1856
commit d17161234a
15 changed files with 1093 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-onchain-transport-lib/src/ws_session.rs
// version: 9
// version: 10
use futures_util::SinkExt; // rust-rules: trait-import
use futures_util::StreamExt; // rust-rules: trait-import
@@ -156,9 +156,8 @@ impl WsSession {
/// Creates one crate-internal typed standard Solana subscription through the actor-owned registry.
///
/// Public typed wrappers are introduced in later prereleases. Keeping this constructor crate-private prevents a raw provider-extension subscription API
/// from becoming part of the stable KSP surface while still making the generic typed engine testable and reusable by those wrappers.
#[allow(dead_code)] // Staged in pre.006 and consumed by the public typed standard wrappers starting in pre.009.
/// Public typed standard wrappers consume this constructor while it remains crate-private, preventing a raw provider-extension subscription API from
/// becoming part of the stable KSP surface.
pub(crate) async fn subscribe_typed<T, F>(
&self,
kind: crate::WsSubscriptionKind,