[package]
edition = "2024"
rust-version = "1.87.0"
name = "typoglycemia"
version = "1.0.3"
authors = ["Mark Fehrenbacher <kendopunk@hotmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A function to convert text to typoglycemic format with a Leet-speak variant. The function takes a string as input and returns a new string where the first and last letters of each word are unchanged, but the middle letters are shuffled randomly. Additionally, certain letters are replaced with their Leet-speak equivalents (e.g., 'a' becomes '4', 'e' becomes '3', etc.). This creates a fun and visually interesting way to obfuscate text while still keeping it somewhat readable.
"""
homepage = "https://github.com/kendopunk/typoglycemia-rs"
readme = "README.md"
keywords = [
"typoglycemia",
"jumble",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/kendopunk/typoglycemia-rs.git"
[lib]
name = "typoglycemia"
path = "src/lib.rs"
[[example]]
name = "try"
path = "examples/try.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[bench]]
name = "scramble_benchmarks"
path = "benches/scramble_benchmarks.rs"
harness = false
[dependencies.atoi]
version = "2.0.0"
[dependencies.rand]
version = "0.9.1"
[dependencies.unicode-segmentation]
version = "1.12.0"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]