iso15924.rs
Rust crate for ISO 15924 data, retrieved from unicode.org.
Data in the crate is updated every week from the table on unicode.org.
Also provided is a constant with the source URL of the data and parsing functionality to parse it, so that you can request the data yourself for the most up-to-date information.
What is ISO 15924?
ISO 15924, Codes for the representation of names of scripts, defines two sets of codes for a number of writing systems (scripts). Each script is given both a four-letter code and a numeric one. Script is defined as "set of graphic characters used for the written form of one or more languages".
-- Wikipedia
Installation
iso15924
requires at least Rust 1.34.
Add the following dependency to your Cargo.toml:
[]
= "0.1"
Examples
Retrieve a slice of all ScriptCode
definitions:
use ScriptCode;
Retrieve a ScriptCode
by its number:
use ScriptCode;
For more examples and information please look in the docs.
License
ISC. License info in LICENSE.md.