3 stable releases

new 1.0.2 Nov 23, 2024
1.0.1 Oct 14, 2024

#1189 in Encoding

Download history 313/week @ 2024-10-14 3/week @ 2024-11-04 116/week @ 2024-11-18

119 downloads per month
Used in huski

MIT license

23KB
451 lines

huski-lib

Facility for working with ASCII table and its views into it. Lib component of huski.

See also huski-lib-core.

use huski_lib_core::ranges::{ranges, Ranges};
use huski_lib::acquire;

let rs = acquire(Ranges::Capital);
assert_eq!('A', rs[0].code() as char);
assert_eq!('Z', rs[25].code() as char);
use huski_lib_core::ranges::LETTERS;
use huski_lib::codes;

let cs = codes(&LETTERS);
assert_eq!(52, cs.len());
assert_eq!('A', cs[0].code() as char);
assert_eq!('z', cs[51].code() as char);

lib.rs:

American Standard Code for Information Interchange table aide library.

Dependencies