Skip to content

Commit

Permalink
Merge pull request #41 from Marcondiro/master
Browse files Browse the repository at this point in the history
Update Unicode to version 16.0.0, bump to 0.2.6
  • Loading branch information
Manishearth authored Sep 19, 2024
2 parents b3a2718 + dd8bc98 commit 5d50587
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "unicode-xid"
version = "0.2.5"
version = "0.2.6"
authors = ["erick.tryzelaar <erick.tryzelaar@gmail.com>",
"kwantam <kwantam@gmail.com>",
"Manish Goregaokar <manishsmail@gmail.com>"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ on std, and instead uses equivalent functions from core.

# changelog

## 0.2.6

- Update to Unicode 16.0.0.

## 0.2.5

- Update to Unicode 15.1.0.
Expand Down
65 changes: 53 additions & 12 deletions src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/// The version of [Unicode](http://www.unicode.org/)
/// that this version of unicode-xid is based on.
pub const UNICODE_VERSION: (u64, u64, u64) = (15, 1, 0);
pub const UNICODE_VERSION: (u64, u64, u64) = (16, 0, 0);

fn bsearch_range_table(c: char, r: &[(char, char)]) -> bool {
use core::cmp::Ordering::{Equal, Greater, Less};
Expand Down Expand Up @@ -91,7 +91,7 @@ pub mod derived_property {
('\u{860}', '\u{86a}'),
('\u{870}', '\u{887}'),
('\u{889}', '\u{88e}'),
('\u{898}', '\u{8e1}'),
('\u{897}', '\u{8e1}'),
('\u{8e3}', '\u{963}'),
('\u{966}', '\u{96f}'),
('\u{971}', '\u{983}'),
Expand Down Expand Up @@ -314,7 +314,7 @@ pub mod derived_property {
('\u{1c00}', '\u{1c37}'),
('\u{1c40}', '\u{1c49}'),
('\u{1c4d}', '\u{1c7d}'),
('\u{1c80}', '\u{1c88}'),
('\u{1c80}', '\u{1c8a}'),
('\u{1c90}', '\u{1cba}'),
('\u{1cbd}', '\u{1cbf}'),
('\u{1cd0}', '\u{1cd2}'),
Expand Down Expand Up @@ -399,10 +399,10 @@ pub mod derived_property {
('\u{a67f}', '\u{a6f1}'),
('\u{a717}', '\u{a71f}'),
('\u{a722}', '\u{a788}'),
('\u{a78b}', '\u{a7ca}'),
('\u{a78b}', '\u{a7cd}'),
('\u{a7d0}', '\u{a7d1}'),
('\u{a7d3}', '\u{a7d3}'),
('\u{a7d5}', '\u{a7d9}'),
('\u{a7d5}', '\u{a7dc}'),
('\u{a7f2}', '\u{a827}'),
('\u{a82c}', '\u{a82c}'),
('\u{a840}', '\u{a873}'),
Expand Down Expand Up @@ -506,6 +506,7 @@ pub mod derived_property {
('\u{105a3}', '\u{105b1}'),
('\u{105b3}', '\u{105b9}'),
('\u{105bb}', '\u{105bc}'),
('\u{105c0}', '\u{105f3}'),
('\u{10600}', '\u{10736}'),
('\u{10740}', '\u{10755}'),
('\u{10760}', '\u{10767}'),
Expand Down Expand Up @@ -546,10 +547,14 @@ pub mod derived_property {
('\u{10cc0}', '\u{10cf2}'),
('\u{10d00}', '\u{10d27}'),
('\u{10d30}', '\u{10d39}'),
('\u{10d40}', '\u{10d65}'),
('\u{10d69}', '\u{10d6d}'),
('\u{10d6f}', '\u{10d85}'),
('\u{10e80}', '\u{10ea9}'),
('\u{10eab}', '\u{10eac}'),
('\u{10eb0}', '\u{10eb1}'),
('\u{10efd}', '\u{10f1c}'),
('\u{10ec2}', '\u{10ec4}'),
('\u{10efc}', '\u{10f1c}'),
('\u{10f27}', '\u{10f27}'),
('\u{10f30}', '\u{10f50}'),
('\u{10f70}', '\u{10f85}'),
Expand Down Expand Up @@ -595,6 +600,16 @@ pub mod derived_property {
('\u{1135d}', '\u{11363}'),
('\u{11366}', '\u{1136c}'),
('\u{11370}', '\u{11374}'),
('\u{11380}', '\u{11389}'),
('\u{1138b}', '\u{1138b}'),
('\u{1138e}', '\u{1138e}'),
('\u{11390}', '\u{113b5}'),
('\u{113b7}', '\u{113c0}'),
('\u{113c2}', '\u{113c2}'),
('\u{113c5}', '\u{113c5}'),
('\u{113c7}', '\u{113ca}'),
('\u{113cc}', '\u{113d3}'),
('\u{113e1}', '\u{113e2}'),
('\u{11400}', '\u{1144a}'),
('\u{11450}', '\u{11459}'),
('\u{1145e}', '\u{11461}'),
Expand All @@ -609,6 +624,7 @@ pub mod derived_property {
('\u{11650}', '\u{11659}'),
('\u{11680}', '\u{116b8}'),
('\u{116c0}', '\u{116c9}'),
('\u{116d0}', '\u{116e3}'),
('\u{11700}', '\u{1171a}'),
('\u{1171d}', '\u{1172b}'),
('\u{11730}', '\u{11739}'),
Expand All @@ -632,6 +648,8 @@ pub mod derived_property {
('\u{11a50}', '\u{11a99}'),
('\u{11a9d}', '\u{11a9d}'),
('\u{11ab0}', '\u{11af8}'),
('\u{11bc0}', '\u{11be0}'),
('\u{11bf0}', '\u{11bf9}'),
('\u{11c00}', '\u{11c08}'),
('\u{11c0a}', '\u{11c36}'),
('\u{11c38}', '\u{11c40}'),
Expand All @@ -656,15 +674,17 @@ pub mod derived_property {
('\u{11f00}', '\u{11f10}'),
('\u{11f12}', '\u{11f3a}'),
('\u{11f3e}', '\u{11f42}'),
('\u{11f50}', '\u{11f59}'),
('\u{11f50}', '\u{11f5a}'),
('\u{11fb0}', '\u{11fb0}'),
('\u{12000}', '\u{12399}'),
('\u{12400}', '\u{1246e}'),
('\u{12480}', '\u{12543}'),
('\u{12f90}', '\u{12ff0}'),
('\u{13000}', '\u{1342f}'),
('\u{13440}', '\u{13455}'),
('\u{13460}', '\u{143fa}'),
('\u{14400}', '\u{14646}'),
('\u{16100}', '\u{16139}'),
('\u{16800}', '\u{16a38}'),
('\u{16a40}', '\u{16a5e}'),
('\u{16a60}', '\u{16a69}'),
Expand All @@ -677,6 +697,8 @@ pub mod derived_property {
('\u{16b50}', '\u{16b59}'),
('\u{16b63}', '\u{16b77}'),
('\u{16b7d}', '\u{16b8f}'),
('\u{16d40}', '\u{16d6c}'),
('\u{16d70}', '\u{16d79}'),
('\u{16e40}', '\u{16e7f}'),
('\u{16f00}', '\u{16f4a}'),
('\u{16f4f}', '\u{16f87}'),
Expand All @@ -686,7 +708,7 @@ pub mod derived_property {
('\u{16ff0}', '\u{16ff1}'),
('\u{17000}', '\u{187f7}'),
('\u{18800}', '\u{18cd5}'),
('\u{18d00}', '\u{18d08}'),
('\u{18cff}', '\u{18d08}'),
('\u{1aff0}', '\u{1aff3}'),
('\u{1aff5}', '\u{1affb}'),
('\u{1affd}', '\u{1affe}'),
Expand All @@ -701,6 +723,7 @@ pub mod derived_property {
('\u{1bc80}', '\u{1bc88}'),
('\u{1bc90}', '\u{1bc99}'),
('\u{1bc9d}', '\u{1bc9e}'),
('\u{1ccf0}', '\u{1ccf9}'),
('\u{1cf00}', '\u{1cf2d}'),
('\u{1cf30}', '\u{1cf46}'),
('\u{1d165}', '\u{1d169}'),
Expand Down Expand Up @@ -762,6 +785,7 @@ pub mod derived_property {
('\u{1e290}', '\u{1e2ae}'),
('\u{1e2c0}', '\u{1e2f9}'),
('\u{1e4d0}', '\u{1e4f9}'),
('\u{1e5d0}', '\u{1e5fa}'),
('\u{1e7e0}', '\u{1e7e6}'),
('\u{1e7e8}', '\u{1e7eb}'),
('\u{1e7ed}', '\u{1e7ee}'),
Expand Down Expand Up @@ -1045,7 +1069,7 @@ pub mod derived_property {
('\u{1c00}', '\u{1c23}'),
('\u{1c4d}', '\u{1c4f}'),
('\u{1c5a}', '\u{1c7d}'),
('\u{1c80}', '\u{1c88}'),
('\u{1c80}', '\u{1c8a}'),
('\u{1c90}', '\u{1cba}'),
('\u{1cbd}', '\u{1cbf}'),
('\u{1ce9}', '\u{1cec}'),
Expand Down Expand Up @@ -1128,10 +1152,10 @@ pub mod derived_property {
('\u{a6a0}', '\u{a6ef}'),
('\u{a717}', '\u{a71f}'),
('\u{a722}', '\u{a788}'),
('\u{a78b}', '\u{a7ca}'),
('\u{a78b}', '\u{a7cd}'),
('\u{a7d0}', '\u{a7d1}'),
('\u{a7d3}', '\u{a7d3}'),
('\u{a7d5}', '\u{a7d9}'),
('\u{a7d5}', '\u{a7dc}'),
('\u{a7f2}', '\u{a801}'),
('\u{a803}', '\u{a805}'),
('\u{a807}', '\u{a80a}'),
Expand Down Expand Up @@ -1236,6 +1260,7 @@ pub mod derived_property {
('\u{105a3}', '\u{105b1}'),
('\u{105b3}', '\u{105b9}'),
('\u{105bb}', '\u{105bc}'),
('\u{105c0}', '\u{105f3}'),
('\u{10600}', '\u{10736}'),
('\u{10740}', '\u{10755}'),
('\u{10760}', '\u{10767}'),
Expand Down Expand Up @@ -1272,8 +1297,11 @@ pub mod derived_property {
('\u{10c80}', '\u{10cb2}'),
('\u{10cc0}', '\u{10cf2}'),
('\u{10d00}', '\u{10d23}'),
('\u{10d4a}', '\u{10d65}'),
('\u{10d6f}', '\u{10d85}'),
('\u{10e80}', '\u{10ea9}'),
('\u{10eb0}', '\u{10eb1}'),
('\u{10ec2}', '\u{10ec4}'),
('\u{10f00}', '\u{10f1c}'),
('\u{10f27}', '\u{10f27}'),
('\u{10f30}', '\u{10f45}'),
Expand Down Expand Up @@ -1312,6 +1340,13 @@ pub mod derived_property {
('\u{1133d}', '\u{1133d}'),
('\u{11350}', '\u{11350}'),
('\u{1135d}', '\u{11361}'),
('\u{11380}', '\u{11389}'),
('\u{1138b}', '\u{1138b}'),
('\u{1138e}', '\u{1138e}'),
('\u{11390}', '\u{113b5}'),
('\u{113b7}', '\u{113b7}'),
('\u{113d1}', '\u{113d1}'),
('\u{113d3}', '\u{113d3}'),
('\u{11400}', '\u{11434}'),
('\u{11447}', '\u{1144a}'),
('\u{1145f}', '\u{11461}'),
Expand Down Expand Up @@ -1346,6 +1381,7 @@ pub mod derived_property {
('\u{11a5c}', '\u{11a89}'),
('\u{11a9d}', '\u{11a9d}'),
('\u{11ab0}', '\u{11af8}'),
('\u{11bc0}', '\u{11be0}'),
('\u{11c00}', '\u{11c08}'),
('\u{11c0a}', '\u{11c2e}'),
('\u{11c40}', '\u{11c40}'),
Expand All @@ -1369,7 +1405,9 @@ pub mod derived_property {
('\u{12f90}', '\u{12ff0}'),
('\u{13000}', '\u{1342f}'),
('\u{13441}', '\u{13446}'),
('\u{13460}', '\u{143fa}'),
('\u{14400}', '\u{14646}'),
('\u{16100}', '\u{1611d}'),
('\u{16800}', '\u{16a38}'),
('\u{16a40}', '\u{16a5e}'),
('\u{16a70}', '\u{16abe}'),
Expand All @@ -1378,6 +1416,7 @@ pub mod derived_property {
('\u{16b40}', '\u{16b43}'),
('\u{16b63}', '\u{16b77}'),
('\u{16b7d}', '\u{16b8f}'),
('\u{16d40}', '\u{16d6c}'),
('\u{16e40}', '\u{16e7f}'),
('\u{16f00}', '\u{16f4a}'),
('\u{16f50}', '\u{16f50}'),
Expand All @@ -1386,7 +1425,7 @@ pub mod derived_property {
('\u{16fe3}', '\u{16fe3}'),
('\u{17000}', '\u{187f7}'),
('\u{18800}', '\u{18cd5}'),
('\u{18d00}', '\u{18d08}'),
('\u{18cff}', '\u{18d08}'),
('\u{1aff0}', '\u{1aff3}'),
('\u{1aff5}', '\u{1affb}'),
('\u{1affd}', '\u{1affe}'),
Expand Down Expand Up @@ -1439,6 +1478,8 @@ pub mod derived_property {
('\u{1e290}', '\u{1e2ad}'),
('\u{1e2c0}', '\u{1e2eb}'),
('\u{1e4d0}', '\u{1e4eb}'),
('\u{1e5d0}', '\u{1e5ed}'),
('\u{1e5f0}', '\u{1e5f0}'),
('\u{1e7e0}', '\u{1e7e6}'),
('\u{1e7e8}', '\u{1e7eb}'),
('\u{1e7ed}', '\u{1e7ee}'),
Expand Down

0 comments on commit 5d50587

Please sign in to comment.