Skip to main content

strop_remote/
lib.rs

1//! Native-byte remote file identity and owned, read-only SSH/SFTP transport.
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;
10mod selection;
11mod ssh;
12#[cfg(test)]
13mod test_support;
14mod transport;
15
16pub use address::{AddressError, RemoteEndpoint, RemoteFile, RemoteLocation};
17pub use client::{
18    ConnectionLease, PermissionBitsError, RemoteClient, RemoteDirectorySnapshot, RemoteEntry,
19    RemoteEntryKind, RemotePermissions, RemoteResource, RemoteSnapshot,
20};
21pub use exec::{
22    command, command_supervised, run, CommandOutput, RemoteCommand, RemoteCommandError,
23    RemoteExitStatus, StdinMode, SupervisionKey, SupervisionOutcome,
24};
25pub use hosts::{enumerate_hosts, CandidateOrigin, HostCandidate, HostEnumeration, HostSources};
26pub use selection::{
27    ReadLimit, ReadLimitError, ReadSelection, RemoteOffset, RemoteSize, RemoteWindow,
28};
29pub use transport::{ReadFailureKind, ReadStage, RemoteReadError};