unicode-range 0.1.0

UnicodeRange is a Rust library for parsing and stringifying Unicode ranges. It provides functionality to convert a string representation of Unicode ranges into a vector of code points and vice versa.
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 6.4 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • KonghaYao/cn-font-split
    1005 36 16
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • KonghaYao

UnicodeRange

UnicodeRange is a Rust library for parsing and stringifying Unicode ranges. It provides functionality to convert a string representation of Unicode ranges into a vector of code points and vice versa.

Usage

use unicode_range::UnicodeRange;

fn main() {
    let input = "U+0-7F,U+007F-00FF,U+4??,U+ff65";
    let code_points = UnicodeRange::parse(input);
    println!("{:?}", code_points);

    let stringified = UnicodeRange::stringify(&code_points);
    println!("{}", stringified);
}