# axum-range HTTP range responses for [`axum`][1]. [Documentation][2]. MIT license. ### Example usage ```rust use axum::TypedHeader; use axum::headers::Range; use tokio::fs::File; use axum_range::Ranged; use axum_range::KnownSize; async fn file(range: Option>) -> Ranged> { let file = File::open("archlinux-x86_64.iso").await.unwrap(); let body = KnownSize::file(file).await.unwrap(); let range = range.map(|TypedHeader(range)| range); Ranged::new(range, body) } ``` [1]: https://docs.rs/axum [2]: https://docs.rs/axum-range