psrp-rs 1.0.0

Async PowerShell Remoting Protocol (MS-PSRP) client for Rust, built on winrm-rs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Runspace pool: lifecycle state machine + async driver.
//!
//! - [`state`] contains the **pure, sync** state machine
//!   (`RunspacePoolStateMachine`) that maps every `(state, event)` pair to a
//!   list of actions — no I/O, trivially unit-testable.
//! - [`pool`] contains the async [`RunspacePool`] that owns a
//!   [`crate::transport::PsrpTransport`] and executes the actions produced
//!   by the state machine.

pub mod pool;
pub mod state;

pub use pool::{DisconnectedPool, RunspacePool};
pub use state::{Action, PROTOCOL_VERSION, RunspacePoolState, RunspacePoolStateMachine};