Skip to main content

faucet_source_sftp/
lib.rs

1#![cfg_attr(docsrs, feature(doc_cfg))]
2
3//! # faucet-source-sftp
4//!
5//! SFTP source connector for the faucet-stream ecosystem.
6//!
7//! Lists a remote directory (or reads a single file) over SFTP and streams the
8//! files as JSON Lines, JSON arrays, or raw text — with bounded memory for the
9//! line- and record-oriented formats. Connection, authentication, and host-key
10//! verification come from [`faucet-common-sftp`](https://docs.rs/faucet-common-sftp).
11
12pub mod config;
13pub mod stream;
14
15pub use faucet_core::{FaucetError, Source};
16
17pub use config::{SftpFormat, SftpSourceConfig};
18pub use faucet_common_sftp::{HostKeyPolicy, SftpAuth, SftpConnectionConfig};
19pub use stream::SftpSource;