rocket_seek_stream 0.2.6

Rocket-rs 0.5.0-rc.3 responder to range requests using types that implement AsyncRead + AsyncSeek
Documentation
//! This crate provides a seekable stream responder for rocket that will satisfy range requests.
//!
//! # Examples
//! see the examples directory for more.
//!
//! ```no_run
//! use rocket::{get, launch, routes};
//! use rocket_seek_stream::SeekStream;
//!
//! #[get("/")]
//! fn home<'a>() -> std::io::Result<SeekStream<'a>> {
//!     SeekStream::from_path("kosmodrom.webm")
//! }
//!
//! #[launch]
//! fn rocket() -> _ {
//!     rocket::Rocket::build()
//!         .mount("/", routes![home])
//! }
//!
//! ```

mod multipart;
mod seekstream;

pub use seekstream::{ReadSeek, SeekStream};