Expand description
FTP server library for Rust
Firetrap helps you create modern, safe and extensible FTP servers in Rust.
Because of its plugable authentication and storage backends (e.g. local filesystem, Google Buckets) it’s more flexible than traditional FTP servers and a perfect match for the cloud.
It is currently under heavy development and not yet recommended for production use.
§Quick Start
extern crate firetrap;
fn main() {
let server = firetrap::Server::with_root(std::env::temp_dir());
server.listen("127.0.0.1:2121");
}Re-exports§
pub use server::Server;
Modules§
- auth
- Contains the
Authenticatortrait that is used by theServerto authenticate users, as well as its various implementations. - server
- Contains the
Serverstruct that is used to configure and control a FTP server instance. - storage
- Contains the
StorageBackendtrait that is by theServerand its various implementations.