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.
5mod address;
6mod client;
7mod exec;
8mod hosts;
9mod pool;
10pub mod save;
11mod selection;
12mod ssh;
13#[cfg(test)]
14mod test_support;
15mod transport;
16
17pub use address::{AddressError, RemoteEndpoint, RemoteFile, RemoteLocation};
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, CommandOutput, RemoteCommand,
24    RemoteCommandError, RemoteExitStatus, RemoteProgram, StdinMode, SupervisionKey,
25    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};