2 unstable releases
0.2.0 | Jan 24, 2019 |
---|---|
0.1.0 | Jan 11, 2019 |
#13 in #byte-range
109 downloads per month
Used in rocket_seek_stream
5KB
57 lines
Ranger Header
HTTP Range
header parser, powered by pest.
Example
use range_header::byte_range::ByteRange;
fn main(){
assert_eq!(
ByteRange::parse("bytes=10-100", 200),
ByteRange {
offset: 10,
length: 91,
}
)
}
Dependencies
~2.2–2.9MB
~58K SLoC