[package]
edition = "2021"
rust-version = "1.85.0"
name = "simd_cesu8"
version = "1.2.0"
authors = ["Sean C. Roach <me@seancroach.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An extremely fast, SIMD accelerated, encoding and decoding library for CESU-8 and Modified UTF-8."
homepage = "https://github.com/seancroach/simd_cesu8"
readme = "README.md"
keywords = [
"cesu8",
"decode",
"encode",
"mutf8",
"no_std",
]
categories = [
"encoding",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/seancroach/simd_cesu8"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bench = []
default = ["std"]
nightly = []
std = ["simdutf8/std"]
[lib]
name = "simd_cesu8"
path = "src/lib.rs"
bench = false
[[test]]
name = "random"
path = "tests/random.rs"
[[bench]]
name = "analysis"
path = "benches/analysis.rs"
harness = false
[dependencies.simdutf8]
version = "0.1.4"
default-features = false
[dev-dependencies.cesu8]
version = "1.1.0"
[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]
[build-dependencies.rustc_version]
version = "0.4.0"
[lints.clippy]
alloc_instead_of_core = "deny"
doc_markdown = "allow"
missing_safety_doc = "deny"
multiple_unsafe_ops_per_block = "deny"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
undocumented_unsafe_blocks = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
[profile.bench]
debug = 2