From 4a4aaff29c5b1df7ed919d10343d98b80a275132 Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Sat, 2 Mar 2019 19:19:44 -0800 Subject: [PATCH 1/4] etc/common: Add unic/ucd/name_aliases component --- etc/common.sh | 1 + gen/src/source/ucd/name_aliases.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/common.sh b/etc/common.sh index 7db37c02..11e70b11 100644 --- a/etc/common.sh +++ b/etc/common.sh @@ -36,6 +36,7 @@ export COMPONENTS=" unic/ucd/common unic/ucd/ident unic/ucd/name + unic/ucd/name_aliases unic/ucd/normal unic/ucd/segment diff --git a/gen/src/source/ucd/name_aliases.rs b/gen/src/source/ucd/name_aliases.rs index c523abfe..bd7a9656 100644 --- a/gen/src/source/ucd/name_aliases.rs +++ b/gen/src/source/ucd/name_aliases.rs @@ -18,7 +18,7 @@ use regex::Regex; use crate::source::utils::read; // String constants representing name alias types -// Note: The string corresponds to unic_name_aliases::NameAliasType enum cases +// Note: The string corresponds to unic_ucd_name_aliases::NameAliasType enum cases static TYPE_STR_CORRECTIONS: &str = "NameCorrections"; static TYPE_STR_CONTROLS: &str = "ControlCodeNames"; static TYPE_STR_ALTERNATES: &str = "AlternateNames"; From 0b824c9559e7698bcb60bafa9ed67ec92cf160b6 Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Sat, 2 Mar 2019 19:44:55 -0800 Subject: [PATCH 2/4] format --- gen/src/source/ucd/name_aliases.rs | 20 ++++++++++------- gen/src/writer/ucd/name_aliases.rs | 26 ++++++++++++---------- unic/ucd/name_aliases/src/name_aliases.rs | 6 ++++- unic/ucd/name_aliases/tests/basic_tests.rs | 15 ++++++++----- unic/ucd/src/lib.rs | 5 +---- 5 files changed, 41 insertions(+), 31 deletions(-) diff --git a/gen/src/source/ucd/name_aliases.rs b/gen/src/source/ucd/name_aliases.rs index bd7a9656..10796519 100644 --- a/gen/src/source/ucd/name_aliases.rs +++ b/gen/src/source/ucd/name_aliases.rs @@ -26,8 +26,11 @@ static TYPE_STR_FIGMENTS: &str = "Figments"; static TYPE_STR_ABBREVIATIONS: &str = "NameAbbreviations"; lazy_static! { - pub static ref NAME_ALIASES_DATA: NameAliasesData = - { read("external/unicode/ucd/data/NameAliases.txt").parse().unwrap() }; + pub static ref NAME_ALIASES_DATA: NameAliasesData = { + read("external/unicode/ucd/data/NameAliases.txt") + .parse() + .unwrap() + }; } #[derive(Clone, Default, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] @@ -54,7 +57,8 @@ impl FromStr for NameAliasesData { ;([[:alnum:]\ \-]*) # alias ;([[:alpha:]]*) # type ", - ).unwrap(); + ) + .unwrap(); } let mut name_alias_types: BTreeMap> = BTreeMap::default(); @@ -73,9 +77,9 @@ impl FromStr for NameAliasesData { if $map.contains_key(&chr) { if let Some(values) = $map.get_mut(&chr) { // Check for duplications because this macro is also used - // for inserting types strings to name_alias_types. - // In case of a character having multiple values for the - // same type, if we don't check for duplications, the type + // for inserting types strings to name_alias_types. + // In case of a character having multiple values for the + // same type, if we don't check for duplications, the type // string would be inserted more than once. if !values.contains(&$value) { values.push($value); @@ -84,7 +88,7 @@ impl FromStr for NameAliasesData { } else { $map.insert(chr, vec![$value]); } - } + }; } let alias = capture[2].to_owned(); @@ -119,7 +123,7 @@ impl FromStr for NameAliasesData { controls, alternates, figments, - abbreviations + abbreviations, }) } } diff --git a/gen/src/writer/ucd/name_aliases.rs b/gen/src/writer/ucd/name_aliases.rs index a356b3a4..704b78e7 100644 --- a/gen/src/writer/ucd/name_aliases.rs +++ b/gen/src/writer/ucd/name_aliases.rs @@ -27,17 +27,19 @@ fn emit_unified_name_aliases_table(dir: &Path) { write( dir, "name_alias_types.rsv", - &NAME_ALIASES_DATA.name_alias_types.to_direct_char_table(|alias_types, f| { - write!( - f, - "&[{}]", - alias_types - .iter() - .map(|alias_type_str| format!("{}", alias_type_str.to_owned())) - .collect::>() - .join(", ") - ) - }), + &NAME_ALIASES_DATA + .name_alias_types + .to_direct_char_table(|alias_types, f| { + write!( + f, + "&[{}]", + alias_types + .iter() + .map(|alias_type_str| format!("{}", alias_type_str.to_owned())) + .collect::>() + .join(", ") + ) + }), ); } @@ -59,7 +61,7 @@ fn emit_name_aliases_table(dir: &Path) { ) }), ); - } + }; } write_map_to_file!(corrections, "corrections.rsv"); diff --git a/unic/ucd/name_aliases/src/name_aliases.rs b/unic/ucd/name_aliases/src/name_aliases.rs index a9db1a6d..01031ff5 100644 --- a/unic/ucd/name_aliases/src/name_aliases.rs +++ b/unic/ucd/name_aliases/src/name_aliases.rs @@ -62,7 +62,11 @@ mod data { // Bring all enum cases into scope, because NameAliasType is omitted // in name_alias_types.rsv to save space use crate::NameAliasType::{ - AlternateNames, ControlCodeNames, Figments, NameAbbreviations, NameCorrections, + AlternateNames, + ControlCodeNames, + Figments, + NameAbbreviations, + NameCorrections, }; pub const NAME_ALIAS_TYPES: CharDataTable<&[crate::NameAliasType]> = include!("../tables/name_alias_types.rsv"); diff --git a/unic/ucd/name_aliases/tests/basic_tests.rs b/unic/ucd/name_aliases/tests/basic_tests.rs index 2e2ce02e..8fa494a1 100644 --- a/unic/ucd/name_aliases/tests/basic_tests.rs +++ b/unic/ucd/name_aliases/tests/basic_tests.rs @@ -14,7 +14,10 @@ use unic_ucd_name_aliases::{name_aliases_of, NameAliasType}; fn test_name_alias_type_of() { assert_eq!( NameAliasType::of('\u{0000}').unwrap(), - &[NameAliasType::ControlCodeNames, NameAliasType::NameAbbreviations] + &[ + NameAliasType::ControlCodeNames, + NameAliasType::NameAbbreviations + ] ); assert_eq!( @@ -29,7 +32,10 @@ fn test_name_alias_type_of() { assert_eq!( NameAliasType::of('\u{FEFF}').unwrap(), - &[NameAliasType::AlternateNames, NameAliasType::NameAbbreviations] + &[ + NameAliasType::AlternateNames, + NameAliasType::NameAbbreviations + ] ); assert_eq!( @@ -37,10 +43,7 @@ fn test_name_alias_type_of() { &[NameAliasType::NameCorrections] ); - assert_eq!( - NameAliasType::of('\u{0041}'), - None - ); + assert_eq!(NameAliasType::of('\u{0041}'), None); } #[test] diff --git a/unic/ucd/src/lib.rs b/unic/ucd/src/lib.rs index d0e74411..90432b1d 100644 --- a/unic/ucd/src/lib.rs +++ b/unic/ucd/src/lib.rs @@ -79,10 +79,7 @@ pub use crate::name::Name; pub use crate::normal::CanonicalCombiningClass; -pub use crate::name_aliases::{ - name_aliases_of, - NameAliasType, -}; +pub use crate::name_aliases::{name_aliases_of, NameAliasType}; pub use crate::segment::{GraphemeClusterBreak, SentenceBreak, WordBreak}; From 5878605364af97a3358368a6eaef02104af2e016 Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Sat, 2 Mar 2019 19:19:44 -0800 Subject: [PATCH 3/4] Release v0.9.0 --- CHANGELOG.md | 6 +++++- README.md | 2 +- apps/cli/Cargo.toml | 4 ++-- gen/Cargo.toml | 2 +- unic/Cargo.toml | 20 +++++++++---------- unic/bidi/Cargo.toml | 8 ++++---- unic/char/Cargo.toml | 8 ++++---- unic/char/basics/Cargo.toml | 4 ++-- unic/char/property/Cargo.toml | 4 ++-- unic/char/range/Cargo.toml | 2 +- unic/common/Cargo.toml | 2 +- unic/emoji/Cargo.toml | 4 ++-- unic/emoji/char/Cargo.toml | 8 ++++---- unic/idna/Cargo.toml | 14 ++++++------- unic/idna/mapping/Cargo.toml | 8 ++++---- unic/idna/punycode/Cargo.toml | 2 +- unic/normal/Cargo.toml | 6 +++--- unic/segment/Cargo.toml | 6 +++--- unic/ucd/Cargo.toml | 34 ++++++++++++++++---------------- unic/ucd/age/Cargo.toml | 8 ++++---- unic/ucd/bidi/Cargo.toml | 8 ++++---- unic/ucd/block/Cargo.toml | 8 ++++---- unic/ucd/case/Cargo.toml | 8 ++++---- unic/ucd/category/Cargo.toml | 8 ++++---- unic/ucd/common/Cargo.toml | 10 +++++----- unic/ucd/hangul/Cargo.toml | 4 ++-- unic/ucd/ident/Cargo.toml | 10 +++++----- unic/ucd/name/Cargo.toml | 8 ++++---- unic/ucd/name_aliases/Cargo.toml | 6 +++--- unic/ucd/normal/Cargo.toml | 14 ++++++------- unic/ucd/segment/Cargo.toml | 8 ++++---- unic/ucd/version/Cargo.toml | 4 ++-- 32 files changed, 126 insertions(+), 122 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b9d8024..a91b3b35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,11 @@ ## [Unreleased] -[Unreleased]: https://github.com/open-i18n/rust-unic/compare/v0.8.0...HEAD +[Unreleased]: https://github.com/open-i18n/rust-unic/compare/v0.9.0...HEAD + + +## [v0.9.0] - 2019-03-02 +[v0.9.0]: https://github.com/open-i18n/rust-unic/compare/v0.8.0...v0.9.0 ### Add diff --git a/README.md b/README.md index 9eebe163..f7198bf2 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ In `Cargo.toml`: ```toml [dependencies] -unic = "0.8.0" # This has Unicode 10.0.0 data and algorithms +unic = "0.9.0" # This has Unicode 10.0.0 data and algorithms ``` And in `main.rs`: diff --git a/apps/cli/Cargo.toml b/apps/cli/Cargo.toml index a1ae308c..62a637f5 100644 --- a/apps/cli/Cargo.toml +++ b/apps/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-cli" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -11,7 +11,7 @@ categories = ["internationalization", "text-processing", "parsing", "command-lin readme = "README.md" [dependencies] -unic = { path = "../../unic/", version = "0.8.0" } +unic = { path = "../../unic/", version = "0.9.0" } clap = "2.29" lazy_static = "1.0" diff --git a/gen/Cargo.toml b/gen/Cargo.toml index 2b05c91b..81c445a6 100644 --- a/gen/Cargo.toml +++ b/gen/Cargo.toml @@ -9,7 +9,7 @@ description = "UNIC — Table Generation" publish = false [dependencies] -unic-char-range = { path = "../unic/char/range/", version = "0.8.0" } +unic-char-range = { path = "../unic/char/range/", version = "0.9.0" } # Command line argument parsing clap = "2.29" diff --git a/unic/Cargo.toml b/unic/Cargo.toml index c97961b1..05646162 100644 --- a/unic/Cargo.toml +++ b/unic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -20,17 +20,17 @@ bench_it = ["unic-bidi/bench_it"] serde = ["unic-bidi/serde"] [dependencies] -unic-bidi = { path = "bidi/", version = "0.8.0" } -unic-char = { path = "char/", version = "0.8.0", features = ["std"] } -unic-common = { path = "common/", version = "0.8.0" } -unic-emoji = { path = "emoji/", version = "0.8.0" } -unic-idna = { path = "idna/", version = "0.8.0" } -unic-normal = { path = "normal/", version = "0.8.0" } -unic-segment = { path = "segment/", version = "0.8.0" } -unic-ucd = { path = "ucd/", version = "0.8.0" } +unic-bidi = { path = "bidi/", version = "0.9.0" } +unic-char = { path = "char/", version = "0.9.0", features = ["std"] } +unic-common = { path = "common/", version = "0.9.0" } +unic-emoji = { path = "emoji/", version = "0.9.0" } +unic-idna = { path = "idna/", version = "0.9.0" } +unic-normal = { path = "normal/", version = "0.9.0" } +unic-segment = { path = "segment/", version = "0.9.0" } +unic-ucd = { path = "ucd/", version = "0.9.0" } [dev-dependencies] -unic-char-range = { path = "char/range/", version = "0.8.0" } +unic-char-range = { path = "char/range/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/bidi/Cargo.toml b/unic/bidi/Cargo.toml index b183fc96..f5716fa0 100644 --- a/unic/bidi/Cargo.toml +++ b/unic/bidi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-bidi" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -23,12 +23,12 @@ bench_it = [] [dependencies] matches = "0.1" serde = { version = ">=0.8, <2.0", optional = true, features = ["derive"] } -unic-ucd-bidi = { path = "../ucd/bidi/", version = "0.8.0" } +unic-ucd-bidi = { path = "../ucd/bidi/", version = "0.9.0" } [dev-dependencies] serde_test = ">=0.8, <2.0" -unic-char-property = { path = "../char/property/", version = "0.8.0" } -unic-ucd-version = { path = "../ucd/version/", version = "0.8.0" } +unic-char-property = { path = "../char/property/", version = "0.9.0" } +unic-ucd-version = { path = "../ucd/version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/char/Cargo.toml b/unic/char/Cargo.toml index 3d6d62fa..a6569be6 100644 --- a/unic/char/Cargo.toml +++ b/unic/char/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-char" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -18,9 +18,9 @@ default = [] std = ["unic-char-range/std"] [dependencies] -unic-char-basics = { path = "basics/", version = "0.8.0" } -unic-char-property = { path = "property/", version = "0.8.0" } -unic-char-range = { path = "range/", version = "0.8.0" } +unic-char-basics = { path = "basics/", version = "0.9.0" } +unic-char-property = { path = "property/", version = "0.9.0" } +unic-char-range = { path = "range/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/char/basics/Cargo.toml b/unic/char/basics/Cargo.toml index cde43514..d348bec0 100644 --- a/unic/char/basics/Cargo.toml +++ b/unic/char/basics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-char-basics" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -14,7 +14,7 @@ readme = "README.md" exclude = [] [dev-dependencies] -unic-char-range = { path = "../range/", version = "0.8.0" } +unic-char-range = { path = "../range/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/char/property/Cargo.toml b/unic/char/property/Cargo.toml index 3e6ce0c8..238e2f5b 100644 --- a/unic/char/property/Cargo.toml +++ b/unic/char/property/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-char-property" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,7 +13,7 @@ categories = ["internationalization", "text-processing", "parsing"] exclude = [] [dependencies] -unic-char-range = { path = "../range/", version = "0.8.0" } +unic-char-range = { path = "../range/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/char/range/Cargo.toml b/unic/char/range/Cargo.toml index 294be0d5..b2c3994c 100644 --- a/unic/char/range/Cargo.toml +++ b/unic/char/range/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-char-range" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" diff --git a/unic/common/Cargo.toml b/unic/common/Cargo.toml index 0449fcb7..86a713b3 100644 --- a/unic/common/Cargo.toml +++ b/unic/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-common" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" diff --git a/unic/emoji/Cargo.toml b/unic/emoji/Cargo.toml index 46fbf71f..435e52c8 100644 --- a/unic/emoji/Cargo.toml +++ b/unic/emoji/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-emoji" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,7 +13,7 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-emoji-char = { path = "char/", version = "0.8.0" } +unic-emoji-char = { path = "char/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/emoji/char/Cargo.toml b/unic/emoji/char/Cargo.toml index e6368ce0..dc0277c9 100644 --- a/unic/emoji/char/Cargo.toml +++ b/unic/emoji/char/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-emoji-char" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../../ucd/version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../../ucd/version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/idna/Cargo.toml b/unic/idna/Cargo.toml index aad6f9de..85fe26f1 100644 --- a/unic/idna/Cargo.toml +++ b/unic/idna/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-idna" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -15,12 +15,12 @@ exclude = ["tests/conformance_tests.rs"] [dependencies] matches = "0.1" -unic-idna-punycode = { path = "punycode/", version = "0.8.0" } -unic-idna-mapping = { path = "mapping/", version = "0.8.0" } -unic-normal = { path = "../normal/", version = "0.8.0" } -unic-ucd-bidi = { path = "../ucd/bidi/", version = "0.8.0" } -unic-ucd-normal = { path = "../ucd/normal/", version = "0.8.0" } -unic-ucd-version = { path = "../ucd/version/", version = "0.8.0" } +unic-idna-punycode = { path = "punycode/", version = "0.9.0" } +unic-idna-mapping = { path = "mapping/", version = "0.9.0" } +unic-normal = { path = "../normal/", version = "0.9.0" } +unic-ucd-bidi = { path = "../ucd/bidi/", version = "0.9.0" } +unic-ucd-normal = { path = "../ucd/normal/", version = "0.9.0" } +unic-ucd-version = { path = "../ucd/version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/idna/mapping/Cargo.toml b/unic/idna/mapping/Cargo.toml index c3e1cc41..c42ab252 100644 --- a/unic/idna/mapping/Cargo.toml +++ b/unic/idna/mapping/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-idna-mapping" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-range = { path = "../../char/range/", version = "0.8.0" } -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-ucd-version = { path = "../../ucd/version/", version = "0.8.0" } +unic-char-range = { path = "../../char/range/", version = "0.9.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-ucd-version = { path = "../../ucd/version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/idna/punycode/Cargo.toml b/unic/idna/punycode/Cargo.toml index e8d805cd..cf56eaec 100644 --- a/unic/idna/punycode/Cargo.toml +++ b/unic/idna/punycode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-idna-punycode" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" diff --git a/unic/normal/Cargo.toml b/unic/normal/Cargo.toml index ebb83bb8..3fca4b7a 100644 --- a/unic/normal/Cargo.toml +++ b/unic/normal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-normal" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -14,10 +14,10 @@ readme = "README.md" exclude = ["tests/conformance_tests.rs"] [dependencies] -unic-ucd-normal = { path = "../ucd/normal/", version = "0.8.0" } +unic-ucd-normal = { path = "../ucd/normal/", version = "0.9.0" } [dev-dependencies] -unic-ucd-version = { path = "../ucd/version/", version = "0.8.0" } +unic-ucd-version = { path = "../ucd/version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/segment/Cargo.toml b/unic/segment/Cargo.toml index 6bee6524..b5bd8de1 100644 --- a/unic/segment/Cargo.toml +++ b/unic/segment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-segment" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -14,11 +14,11 @@ readme = "README.md" exclude = [] [dependencies] -unic-ucd-segment = { path = "../ucd/segment/", version = "0.8.0" } +unic-ucd-segment = { path = "../ucd/segment/", version = "0.9.0" } [dev-dependencies] quickcheck = "0.6" -unic-ucd-common = { path = "../ucd/common/", version = "0.8.0" } +unic-ucd-common = { path = "../ucd/common/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/Cargo.toml b/unic/ucd/Cargo.toml index 43f3fdba..2092b0c5 100644 --- a/unic/ucd/Cargo.toml +++ b/unic/ucd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -14,25 +14,25 @@ readme = "README.md" exclude = [] [dependencies] -unic-ucd-age = { path = "age/", version = "0.8.0" } -unic-ucd-bidi = { path = "bidi/", version = "0.8.0" } -unic-ucd-block = { path = "block/", version = "0.8.0" } -unic-ucd-case = { path = "case/", version = "0.8.0" } -unic-ucd-category = { path = "category/", version = "0.8.0" } -unic-ucd-common = { path = "common/", version = "0.8.0" } -unic-ucd-hangul = { path = "hangul/", version= "0.8.0" } -unic-ucd-ident = { path = "ident/", version = "0.8.0" } -unic-ucd-name = { path = "name/", version = "0.8.0" } -unic-ucd-name_aliases = { path = "name_aliases/", version = "0.8.0" } -unic-ucd-normal = { path = "normal/", version = "0.8.0", features = ["unic-ucd-category"] } -unic-ucd-segment = { path = "segment/", version = "0.8.0" } -unic-ucd-version = { path = "version/", version = "0.8.0" } +unic-ucd-age = { path = "age/", version = "0.9.0" } +unic-ucd-bidi = { path = "bidi/", version = "0.9.0" } +unic-ucd-block = { path = "block/", version = "0.9.0" } +unic-ucd-case = { path = "case/", version = "0.9.0" } +unic-ucd-category = { path = "category/", version = "0.9.0" } +unic-ucd-common = { path = "common/", version = "0.9.0" } +unic-ucd-hangul = { path = "hangul/", version= "0.9.0" } +unic-ucd-ident = { path = "ident/", version = "0.9.0" } +unic-ucd-name = { path = "name/", version = "0.9.0" } +unic-ucd-name_aliases = { path = "name_aliases/", version = "0.9.0" } +unic-ucd-normal = { path = "normal/", version = "0.9.0", features = ["unic-ucd-category"] } +unic-ucd-segment = { path = "segment/", version = "0.9.0" } +unic-ucd-version = { path = "version/", version = "0.9.0" } [dev-dependencies] matches = "0.1" -unic-char-basics = { path = "../char/basics/", version = "0.8.0" } -unic-char-property = { path = "../char/property/", version = "0.8.0" } -unic-char-range = { path = "../char/range/", version = "0.8.0" } +unic-char-basics = { path = "../char/basics/", version = "0.9.0" } +unic-char-property = { path = "../char/property/", version = "0.9.0" } +unic-char-range = { path = "../char/range/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/age/Cargo.toml b/unic/ucd/age/Cargo.toml index 9f99a142..9747d4dc 100644 --- a/unic/ucd/age/Cargo.toml +++ b/unic/ucd/age/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-age" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/bidi/Cargo.toml b/unic/ucd/bidi/Cargo.toml index d1f992b2..28d30ec6 100644 --- a/unic/ucd/bidi/Cargo.toml +++ b/unic/ucd/bidi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-bidi" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/block/Cargo.toml b/unic/ucd/block/Cargo.toml index f0265b6c..2a45b0e7 100644 --- a/unic/ucd/block/Cargo.toml +++ b/unic/ucd/block/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-block" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range/", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range/", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/case/Cargo.toml b/unic/ucd/case/Cargo.toml index 7ba49cda..1615501f 100644 --- a/unic/ucd/case/Cargo.toml +++ b/unic/ucd/case/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-case" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range/", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range/", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/category/Cargo.toml b/unic/ucd/category/Cargo.toml index 7c82d2ac..00bf1841 100644 --- a/unic/ucd/category/Cargo.toml +++ b/unic/ucd/category/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-category" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -14,9 +14,9 @@ exclude = [] [dependencies] matches = "0.1" -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/common/Cargo.toml b/unic/ucd/common/Cargo.toml index e6d58890..7e4050e1 100644 --- a/unic/ucd/common/Cargo.toml +++ b/unic/ucd/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-common" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,12 +13,12 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [dev-dependencies] -unic-ucd-category = { path = "../category/", version = "0.8.0" } +unic-ucd-category = { path = "../category/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/hangul/Cargo.toml b/unic/ucd/hangul/Cargo.toml index 4e703d56..fc2e39fb 100644 --- a/unic/ucd/hangul/Cargo.toml +++ b/unic/ucd/hangul/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-hangul" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,7 +13,7 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/ident/Cargo.toml b/unic/ucd/ident/Cargo.toml index 3ac72ad5..ec4ad722 100644 --- a/unic/ucd/ident/Cargo.toml +++ b/unic/ucd/ident/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-ident" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -20,12 +20,12 @@ xid = [] id = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [dev-dependencies] -unic-ucd-category = { path = "../category/", version = "0.8.0" } +unic-ucd-category = { path = "../category/", version = "0.9.0" } regex = "0.2" matches = "0.1" diff --git a/unic/ucd/name/Cargo.toml b/unic/ucd/name/Cargo.toml index f48443f2..95900be0 100644 --- a/unic/ucd/name/Cargo.toml +++ b/unic/ucd/name/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-name" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-ucd-version = { path = "../version/", version = "0.8.0" } -unic-ucd-hangul = { path = "../hangul/", version = "0.8.0" } -unic-char-property = { path = "../../char/property/", version = "0.8.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } +unic-ucd-hangul = { path = "../hangul/", version = "0.9.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/name_aliases/Cargo.toml b/unic/ucd/name_aliases/Cargo.toml index d2a5d7ce..223c3389 100644 --- a/unic/ucd/name_aliases/Cargo.toml +++ b/unic/ucd/name_aliases/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-name_aliases" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,8 +13,8 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-ucd-version = { path = "../version/", version = "0.8.0" } -unic-char-property = { path = "../../char/property/", version = "0.8.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/normal/Cargo.toml b/unic/ucd/normal/Cargo.toml index 02e7144f..3bc112d0 100644 --- a/unic/ucd/normal/Cargo.toml +++ b/unic/ucd/normal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-normal" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,14 +13,14 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = ["tests/conformance_tests.rs"] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-category = { path = "../category/", version = "0.8.0", optional = true } -unic-ucd-hangul = { path = "../hangul/", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-category = { path = "../category/", version = "0.9.0", optional = true } +unic-ucd-hangul = { path = "../hangul/", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [dev-dependencies] -unic-ucd-category = { path = "../category/", version = "0.8.0" } +unic-ucd-category = { path = "../category/", version = "0.9.0" } [features] default = [] diff --git a/unic/ucd/segment/Cargo.toml b/unic/ucd/segment/Cargo.toml index ba710ada..1c4f3d2a 100644 --- a/unic/ucd/segment/Cargo.toml +++ b/unic/ucd/segment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-segment" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,9 +13,9 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-char-property = { path = "../../char/property/", version = "0.8.0" } -unic-char-range = { path = "../../char/range", version = "0.8.0" } -unic-ucd-version = { path = "../version/", version = "0.8.0" } +unic-char-property = { path = "../../char/property/", version = "0.9.0" } +unic-char-range = { path = "../../char/range", version = "0.9.0" } +unic-ucd-version = { path = "../version/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } diff --git a/unic/ucd/version/Cargo.toml b/unic/ucd/version/Cargo.toml index 80349c99..a8dd931d 100644 --- a/unic/ucd/version/Cargo.toml +++ b/unic/ucd/version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unic-ucd-version" -version = "0.8.0" +version = "0.9.0" edition = "2018" authors = ["The UNIC Project Developers"] repository = "https://github.com/open-i18n/rust-unic/" @@ -13,7 +13,7 @@ categories = ["internationalization", "text-processing", "parsing", "rendering"] exclude = [] [dependencies] -unic-common = { path = "../../common/", version = "0.8.0" } +unic-common = { path = "../../common/", version = "0.9.0" } [badges] maintenance = { status = "actively-developed" } From 8a6ce83063d90b91ae2ce59eddb803edd393fca9 Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Sat, 2 Mar 2019 21:04:23 -0800 Subject: [PATCH 4/4] etc/common: Fix publish order --- etc/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/common.sh b/etc/common.sh index 11e70b11..4d630d12 100644 --- a/etc/common.sh +++ b/etc/common.sh @@ -17,9 +17,9 @@ set -e export COMPONENTS=" unic/common - unic/char/basics unic/char/range + unic/char/basics unic/char/property unic/char