# 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"
name = "two_phase_interner"
version = "0.1.0"
authors = ["Berkus Decker <berkus+crates@madfire.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Two-phase string and byte array interning"
readme = "README.md"
keywords = [
    "interner",
    "interning",
    "deduplication",
    "symbol",
    "atom",
]
categories = [
    "algorithms",
    "caching",
    "compression",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/berkus/two_phase_interner"

[features]
default = ["serialize"]
serialize = ["dep:leb128"]

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

[[example]]
name = "interactive"
path = "examples/interactive.rs"

[dependencies.leb128]
version = "0.2.5"
optional = true
