Skip to content

Commit

Permalink
*: re-generate Unicode data tables within this project
Browse files Browse the repository at this point in the history
All of these should only be used in tests/benchmarks.
  • Loading branch information
BurntSushi committed Jul 7, 2023
1 parent 588272c commit 4d20490
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion benches/tables/fst/general_category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const GENERAL_CATEGORY_ENUM: &'static [&'static str] = &[
"Close_Punctuation",
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/fst/jamo_short_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub static JAMO_SHORT_NAME: ::once_cell::sync::Lazy<
::fst::Map<&'static [u8]>,
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/fst/names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub static NAMES: ::once_cell::sync::Lazy<::fst::Map<&'static [u8]>> =
::once_cell::sync::Lazy::new(|| {
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/slice/general_categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const BY_NAME: &'static [(&'static str, &'static [(u32, u32)])] = &[
("Cased_Letter", CASED_LETTER),
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/slice/general_category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const GENERAL_CATEGORY_ENUM: &'static [&'static str] = &[
"Close_Punctuation",
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/slice/jamo_short_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const JAMO_SHORT_NAME: &'static [(u32, &'static str)] = &[
(4352, "G"),
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/slice/names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const NAMES: &'static [(&'static str, u32)] = &[
("ABACUS", 129518), ("AC CURRENT", 9190), ("ACCORDION", 129687),
Expand Down
2 changes: 1 addition & 1 deletion benches/tables/trie/general_categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const BY_NAME: &'static [(&'static str, &'static ::ucd_trie::TrieSet)] = &[
("Cased_Letter", CASED_LETTER),
Expand Down
2 changes: 1 addition & 1 deletion ucd-trie/src/general_category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const BY_NAME: &'static [(&'static str, &'static [(u32, u32)])] = &[
("Cased_Letter", CASED_LETTER),
Expand Down
2 changes: 1 addition & 1 deletion ucd-util/src/unicode_tables/jamo_short_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const JAMO_SHORT_NAME: &'static [(u32, &'static str)] = &[
(4352, "G"),
Expand Down
2 changes: 1 addition & 1 deletion ucd-util/src/unicode_tables/property_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const PROPERTY_NAMES: &'static [(&'static str, &'static str)] = &[
("age", "Age"),
Expand Down
6 changes: 3 additions & 3 deletions ucd-util/src/unicode_tables/property_values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Unicode version: 15.0.0.
//
// ucd-generate 0.2.13 is available on crates.io.
// ucd-generate 0.2.15 is available on crates.io.

pub const PROPERTY_VALUES: &'static [(
&'static str,
Expand Down Expand Up @@ -768,7 +768,6 @@ pub const PROPERTY_VALUES: &'static [(
(
"Canonical_Combining_Class",
&[
("", "Iota_Subscript"),
("0", "Not_Reordered"),
("1", "Overlay"),
("10", "CCC10"),
Expand Down Expand Up @@ -891,6 +890,7 @@ pub const PROPERTY_VALUES: &'static [(
("hanr", "Han_Reading"),
("hanreading", "Han_Reading"),
("iotasubscript", "Iota_Subscript"),
("is", "Iota_Subscript"),
("kanavoicing", "Kana_Voicing"),
("kv", "Kana_Voicing"),
("l", "Left"),
Expand Down Expand Up @@ -1813,7 +1813,6 @@ pub const PROPERTY_VALUES: &'static [(
(
"Line_Break",
&[
("", "Infix_Numeric"),
("ai", "Ambiguous"),
("al", "Alphabetic"),
("alphabetic", "Alphabetic"),
Expand Down Expand Up @@ -1859,6 +1858,7 @@ pub const PROPERTY_VALUES: &'static [(
("infixnumeric", "Infix_Numeric"),
("inseparable", "Inseparable"),
("inseperable", "Inseparable"),
("is", "Infix_Numeric"),
("jl", "JL"),
("jt", "JT"),
("jv", "JV"),
Expand Down

0 comments on commit 4d20490

Please sign in to comment.