Skip to content

Commit 56a9eac

Browse files
authored
Merge pull request #5 from yeslogic/unicode-15
Upgrade to Unicode 15.0
2 parents 6b35b44 + 3ebb661 commit 56a9eac

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
tables:
2+
yeslogic-ucd-generate case-folding-simple --rust-match ../ucd-generate/ucd-15.0.0/ > src/case_folding_simple.rs
3+
yeslogic-ucd-generate case-mapping ../ucd-generate/ucd-15.0.0/ > src/tables.rs
4+
5+
6+
.PHONY: tables
7+

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ unicode-case-mapping
1010
<a href="https://crates.io/crates/unicode-case-mapping">
1111
<img src="https://img.shields.io/crates/v/unicode-case-mapping.svg" alt="Version">
1212
</a>
13-
<img src="https://img.shields.io/badge/unicode-14.0-informational" alt="Unicode Version">
13+
<img src="https://img.shields.io/badge/unicode-15.0-informational" alt="Unicode Version">
1414
<a href="https://github.com/yeslogic/unicode-case-mapping/blob/master/LICENSE">
1515
<img src="https://img.shields.io/crates/l/unicode-case-mapping.svg" alt="License">
1616
</a>
@@ -19,7 +19,7 @@ unicode-case-mapping
1919
<br>
2020

2121
Fast mapping of a `char` to lowercase, uppercase, titlecase, or its simple case folding
22-
in Rust using Unicode 14.0 data.
22+
in Rust using Unicode 15.0 data.
2323

2424
Usage
2525
-----

src/case_folding_simple.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
22
//
3-
// yeslogic-ucd-generate case-folding-simple --rust-match /home/wmoore/Downloads/ucd-14.0
3+
// yeslogic-ucd-generate case-folding-simple --rust-match ../ucd-generate/ucd-15.0.0/
44
//
5-
// Unicode version: 14.0.0.
5+
// Unicode version: 15.0.0.
66
//
7-
// yeslogic-ucd-generate is available on GitHub:
8-
// https://github.com/yeslogic/ucd-generate/tree/884021d
7+
// yeslogic-ucd-generate 0.6.0 is available on crates.io.
98

109
use std::num::NonZeroU32;
1110

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ pub use case_mapping::{case_folded, to_lowercase, to_titlecase, to_uppercase};
2323

2424
/// The version of [Unicode](http://www.unicode.org/)
2525
/// that this version of unicode-case-mapping was generated from.
26-
pub const UNICODE_VERSION: (u64, u64, u64) = (14, 0, 0);
26+
pub const UNICODE_VERSION: (u64, u64, u64) = (15, 0, 0);

src/tables.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
22
//
3-
// yeslogic-ucd-generate case-mapping /home/wmoore/Downloads/ucd-14.0
3+
// yeslogic-ucd-generate case-mapping ../ucd-generate/ucd-15.0.0/
44
//
5-
// Unicode version: 14.0.0.
5+
// Unicode version: 15.0.0.
66
//
7-
// yeslogic-ucd-generate is available on GitHub:
8-
// https://github.com/yeslogic/ucd-generate/tree/3b21e76
7+
// yeslogic-ucd-generate 0.6.0 is available on crates.io.
98

109
#[allow(dead_code)]
1110
pub const LOWER: &'static [(u32, &'static [u32])] = &[

0 commit comments

Comments
 (0)