etag 2.0.3

Simple ETag calculation implementation
docs.rs failed to build etag-2.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: etag-4.0.0

etag-rs

Build Crates.io Docs.rs

Simple EntityTag implementation.

Features

  • std - Add EntityTag::from_file_meta in order to generate ETag using file's metadata.

Usage

use etag::EntityTag;

fn main() {
    let my_tag = EntityTag::strong("lolka");
    let text_etag = my_tag.to_string();
    let parse_tag = text_etag.parse::<EntityTag>().unwrap();

    assert!(my_tag.strong_eq(&parse_tag));
}