smoothutf8 0.1.0

Portable, formally verified UTF-8 validation with an optional slack-buffer fast path for zero-copy parsers
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"
rust-version = "1.60"
name = "smoothutf8"
version = "0.1.0"
build = false
exclude = [
    "/.github",
    "/.cargo",
    "/examples",
    "/verify/Dockerfile.tools",
    "/verify/rr-check.sh",
    "/RefinedRust.toml",
    "/doc/gen-throughput-svg.py",
    "/doc/gen-throughput-relative-svg.py",
    "/doc/parse-criterion-log.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable, formally verified UTF-8 validation with an optional slack-buffer fast path for zero-copy parsers"
readme = "README.md"
keywords = [
    "utf8",
    "validation",
    "verified",
    "no_std",
    "parser",
]
categories = [
    "encoding",
    "no-std",
    "no-std::no-alloc",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/iainmcgin/smooth-utf8"

[package.metadata.verus]
verify = true

[features]
simdutf8 = ["dep:simdutf8"]
verus = [
    "dep:verus_builtin",
    "dep:verus_builtin_macros",
    "dep:vstd",
]

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

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

[dependencies.simdutf8]
version = "0.1"
optional = true
default-features = false

[dependencies.verus_builtin]
version = "=0.0.0-2026-05-17-0151"
optional = true

[dependencies.verus_builtin_macros]
version = "=0.0.0-2026-06-14-0213"
optional = true

[dependencies.vstd]
version = "=0.0.0-2026-06-14-0213"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"

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

[dev-dependencies.simdutf8]
version = "0.1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(rr)",
    "cfg(verus_keep_ghost)",
]

[profile.bench]
lto = true
codegen-units = 1

[profile.release]
lto = true
codegen-units = 1