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;
9mod hosts;
10mod pool;
11pub mod save;
12mod selection;
13mod ssh;
14#[cfg(test)]
15mod test_support;
16mod transport;
17pub use client::{
18    ConnectionLease, PermissionBitsError, RemoteClient, RemoteDirectorySnapshot, RemoteEntry,
19    RemoteEntryKind, RemotePermissions, RemoteResource, RemoteSnapshot,
20};
21pub use exec::{
22    command, command_supervised, run, run_with_input, CommandOutput, RemoteCommand,
23    RemoteCommandError, RemoteExitStatus, RemoteProgram, StdinMode, SupervisionKey,
24    SupervisionOutcome,
25};
26pub use hosts::{enumerate_hosts, CandidateOrigin, HostCandidate, HostEnumeration, HostSources};
27pub use selection::{
28    ReadLimit, ReadLimitError, ReadSelection, RemoteOffset, RemoteSize, RemoteWindow,
29};
30pub use transport::{ReadFailureKind, ReadStage, RemoteReadError};