libsftpman/
lib.rs

1mod auth_type;
2
3#[cfg(feature = "cli")]
4pub mod cli;
5
6mod errors;
7mod manager;
8mod model;
9mod utils;
10
11pub use auth_type::AuthType;
12pub use errors::{ManagerInitError, PreflightCheckError, SftpManError};
13pub use manager::Manager;
14pub use model::{DEFAULT_MOUNT_PATH_PREFIX, FilesystemMountDefinition, MountState};
15
16pub const VERSION: &str = env!("CARGO_PKG_VERSION");
17
18// Re-exports
19
20// Re-export to allow people to use `FilesystemMountDefinition::validate()` (which requires the `validator::Validate` trait)
21pub use validator;