[package]
edition = "2024"
rust-version = "1.85"
name = "entity-tag"
version = "0.2.0"
authors = ["Magic Len <len@magiclen.org>"]
build = false
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This crate provides a `EntityTag` structure and functions to deal with the ETag header field of HTTP."
homepage = "https://magiclen.org/entity-tag"
readme = "README.md"
keywords = [
"etag",
"if-match",
"if-none-match",
]
categories = [
"no-std",
"parser-implementations",
"data-structures",
"network-programming",
]
license = "MIT"
repository = "https://github.com/magiclen/entity-tag"
[features]
default = ["std"]
std = []
strong-hasher = ["dep:blake3"]
weak-hasher = ["dep:xxhash-rust"]
[lib]
name = "entity_tag"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22"
features = ["alloc"]
default-features = false
[dependencies.blake3]
version = "1"
optional = true
default-features = false
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
optional = true
default-features = false