cftp 0.1.0

A small, fast and highly customizable FTP server library.
Documentation
//! cftp is a small, fast and highly customizable FTP server library.

pub mod code;
pub mod command;

#[cfg(feature = "tcp")]
pub mod tcp;

mod builder;
mod ftp;
mod handler;

#[cfg(feature = "tls")]
mod tls;

pub use builder::*;
pub use ftp::*;
pub use handler::*;

pub mod io {
    pub use futures::io::{AsyncRead, AsyncWrite};

    #[cfg(feature = "tcp")]
    pub use tokio_util::compat::{
        Compat, FuturesAsyncReadCompatExt, FuturesAsyncWriteCompatExt, TokioAsyncReadCompatExt,
        TokioAsyncWriteCompatExt,
    };
}

#[cfg(feature = "tls")]
pub use futures_rustls::*;