From 1a5a7abbad9367cfb8d1162f73af8912b1148265 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 8 Jan 2024 21:29:12 +0900 Subject: [PATCH] fix: change package name --- Cargo.lock | 14 +++++++------- Cargo.toml | 2 +- README.md | 3 +-- benches/parse_language_id.rs | 2 +- benches/parse_locale_id.rs | 2 +- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d97e799..b77b021 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -200,6 +200,13 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +[[package]] +name = "intl-locale" +version = "0.1.0" +dependencies = [ + "criterion", +] + [[package]] name = "is-terminal" version = "0.4.10" @@ -461,13 +468,6 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" -[[package]] -name = "unicode-locale-id-parser" -version = "0.1.0" -dependencies = [ - "criterion", -] - [[package]] name = "walkdir" version = "2.4.0" diff --git a/Cargo.toml b/Cargo.toml index c005702..c8827f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "unicode-locale-id-parser" +name = "intl-locale" version = "0.1.0" edition = "2021" diff --git a/README.md b/README.md index 78d1cb0..23ba330 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -# unicode-locale-id-parser +# intl-locale This crate for [Unicode Locale Identifiers](https://unicode.org/reports/tr35/#Unicode_locale_identifier) parser. - ## ©️ License [MIT](https://opensource.org/licenses/MIT) \ No newline at end of file diff --git a/benches/parse_language_id.rs b/benches/parse_language_id.rs index 6f8a583..8d34c72 100644 --- a/benches/parse_language_id.rs +++ b/benches/parse_language_id.rs @@ -1,5 +1,5 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion}; -use unicode_locale_id_parser::parse_unicode_language_id; +use intl_locale::parse_unicode_language_id; fn language_identifier_parser_bench(c: &mut Criterion) { let strings = [ diff --git a/benches/parse_locale_id.rs b/benches/parse_locale_id.rs index 6f9a475..b1dd18e 100644 --- a/benches/parse_locale_id.rs +++ b/benches/parse_locale_id.rs @@ -1,5 +1,5 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion}; -use unicode_locale_id_parser::parse_unicode_locale_id; +use intl_locale::parse_unicode_locale_id; fn locale_identifier_parser_bench(c: &mut Criterion) { let strings = [