use-ascii 0.1.0

ASCII detection and classification helpers for RustUse
Documentation
  • Coverage
  • 5.56%
    1 out of 18 items documented1 out of 11 items with examples
  • Size
  • Source code size: 6.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 347.45 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 37s Average build duration of successful builds.
  • all releases: 37s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • RustUse/use-encoding
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-ascii

ASCII detection, classification, stripping, and replacement helpers.

Warning: versions below 0.3.0 are experimental and may change as the crate surface is refined.

Example Usage

use use_ascii::{ascii_kind, replace_non_ascii, strip_non_ascii};

let stripped = strip_non_ascii("caf\u{e9}");
let replaced = replace_non_ascii("caf\u{e9}", '?');
let kind = ascii_kind('A');

let _ = (stripped, replaced, kind);

Scope

  • ASCII-only validation and classification helpers
  • removal or replacement of non-ASCII characters
  • small utilities for config, CLI, docs, and text-cleanup workflows

Non-Goals

  • Unicode normalization
  • transliteration
  • locale-aware casing behavior

License

Licensed under either of the following, at your option:

  • MIT License
  • Apache License, Version 2.0