hyperlane-plugin-etag 23.3.2

An opt-in automatic ETag and HTTP conditional request plugin for the Hyperlane framework providing strong/weak XxHash3_64 entity tags, zero-allocation If-None-Match 304 Not Modified, and If-Match 412 Precondition Failed optimistic concurrency.
Documentation
1
2
3
4
5
6
7
8
9
/// Strength of automatically generated entity tags.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum EtagStrength {
    /// Strong entity tag (`"<16-hex>"`), valid for byte-for-byte comparisons and `If-Match`.
    #[default]
    Strong,
    /// Weak entity tag (`W/"<16-hex>"`), valid for semantic equivalence and `If-None-Match`.
    Weak,
}