Entity Tag
This crate provides a EntityTag
structure and functions to deal with the ETag header field of HTTP.
Examples
extern crate entity_tag;
use EntityTag;
let etag1 = with_str.unwrap;
let etag2 = from_str.unwrap;
assert_eq!;
assert_eq!;
assert!;
assert!;
let etag3 = from_data.unwrap;
assert_eq!;
let etag4 = from_file_meta;
println! // W/"CmgjkoKAfwQ"
No Std
Disable the default features to compile this crate without std.
[]
= "*"
= false
Crates.io
https://crates.io/crates/entity-tag