veil-engine 0.2.1

Detection, placeholders and restoration. No I/O.
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 = "2021"
name = "veil-engine"
version = "0.2.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detection, placeholders and restoration. No I/O."
readme = "README.md"
keywords = [
    "redaction",
    "privacy",
    "pii",
    "anonymization",
    "llm",
]
categories = ["text-processing"]
license = "Apache-2.0"
repository = "https://github.com/Oram-Labs/veil-engine"

[features]
default = ["phone"]
phone = ["dep:phonenumber"]
schema = ["dep:schemars"]

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

[[test]]
name = "corpus"
path = "tests/corpus.rs"

[[test]]
name = "fast_paths"
path = "tests/fast_paths.rs"

[[test]]
name = "guarantees"
path = "tests/guarantees.rs"

[[bench]]
name = "engine"
path = "benches/engine.rs"
harness = false

[dependencies.aho-corasick]
version = "1"

[dependencies.arc-swap]
version = "1"

[dependencies.hmac]
version = "0.12"

[dependencies.lru]
version = "0.16"

[dependencies.phonenumber]
version = "0.3"
optional = true

[dependencies.regex]
version = "1"

[dependencies.schemars]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

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

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_yaml_ng]
version = "0.10"