Skip to main content

strop_remote/
lib.rs

1//! Native-byte remote identity, read-only SFTP and explicit cooperative SSH saves.
2//!
3//! Requests belong on workers. Authentication and encryption stay in system
4//! OpenSSH; no editor, CLI, view or rendering state lives here. Identity types
5//! (endpoint, file, location, address errors) live in `strop-workspace` (0042);
6//! this crate is the transport and behavior over them.
7mod client;
8mod exec;
9pub mod filesystem;
10mod hosts;
11mod pool;
12pub mod save;
13mod selection;
14mod ssh;
15#[cfg(test)]
16mod test_support;
17mod transport;
18pub use client::{
19    ConnectionLease, PermissionBitsError, RemoteClient, RemoteDirectorySnapshot, RemoteEntry,
20    RemoteEntryKind, RemotePermissions, RemoteResource, RemoteSnapshot,
21};
22pub use exec::{
23    command, command_supervised, run, run_with_input, stream, CommandOutput, RemoteCommand,
24    RemoteCommandError, RemoteExitStatus, RemoteProgram, RemoteStreamError, RemoteStreamOutput,
25    StdinMode, SupervisionKey, SupervisionOutcome,
26};
27pub use hosts::{enumerate_hosts, CandidateOrigin, HostCandidate, HostEnumeration, HostSources};
28pub use selection::{
29    ReadLimit, ReadLimitError, ReadSelection, RemoteOffset, RemoteSize, RemoteWindow,
30};
31pub use transport::{ReadFailureKind, ReadStage, RemoteReadError};