axess-strings 0.2.0

Short, hot-path string primitive for the axess workspace. ShortString is optimized for the workload of short identifiers that are hashed, compared, and cloned at high volume: event taxonomy tags, factor names, routing discriminators. The current internal representation is a placeholder (heap Box<str> + &'static str) suitable for getting the API contract in place; it will be swapped to an Umbra-style 16-byte representation in a follow-up commit. The public API is stable across the swap.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "axess-strings"
version = "0.2.0"
authors = ["Gnomes"]
build = false
exclude = [
    "tests/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Short, hot-path string primitive for the axess workspace. ShortString is
optimized for the workload of short identifiers that are hashed, compared,
and cloned at high volume: event taxonomy tags, factor names, routing
discriminators. The current internal representation is a placeholder
(heap Box<str> + &'static str) suitable for getting the API contract in
place; it will be swapped to an Umbra-style 16-byte representation in a
follow-up commit. The public API is stable across the swap.
"""
homepage = "https://github.com/GnomesOfZurich/axess"
documentation = "https://docs.rs/axess-strings"
readme = "README.md"
keywords = [
    "string",
    "intern",
    "umbra",
    "short-string",
    "compact",
]
categories = [
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GnomesOfZurich/axess"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["serde"]
full = [
    "serde",
    "rkyv",
]
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]

[lib]
name = "axess_strings"
path = "src/lib.rs"

[dependencies.rkyv]
version = "0.8.16"
features = [
    "alloc",
    "bytecheck",
    "uuid-1",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["alloc"]
optional = true
default-features = false

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.serde_json]
version = "1.0.150"
default-features = false