Crates.io | unicode-blocks |
lib.rs | unicode-blocks |
version | 0.1.9 |
source | src |
created_at | 2020-08-14 08:12:11.310897 |
updated_at | 2024-02-18 12:42:26.476061 |
description | This crate contains a list of all unicode blocks and provides some functions to search across them. |
homepage | https://magiclen.org/unicode-blocks |
repository | https://github.com/magiclen/unicode-blocks |
max_upload_size | |
id | 276507 |
size | 68,590 |
This crate contains a list of all unicode blocks and provides some functions to search across them.
The latest version of Unicode: 15.1.0
assert_eq!(unicode_blocks::BASIC_LATIN, unicode_blocks::find_unicode_block('A').unwrap());
assert!(unicode_blocks::is_cjk_block(unicode_blocks::CJK_UNIFIED_IDEOGRAPHS));
assert!(unicode_blocks::is_cjk('。'));
https://crates.io/crates/unicode-blocks
https://docs.rs/unicode-blocks