From 0c7f5b68e1d61ce415a490e70a4ff7a67672a882 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Jul 2019 15:47:37 +0300 Subject: [PATCH 1/5] Cleanup Cargo.toml - use new syntax for license - use default exclude rules --- Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b9b69b2..4ccfc91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ authors = ["erick.tryzelaar ", homepage = "https://github.com/unicode-rs/unicode-xid" repository = "https://github.com/unicode-rs/unicode-xid" documentation = "https://unicode-rs.github.io/unicode-xid" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" keywords = ["text", "unicode", "xid"] readme = "README.md" description = """ @@ -18,8 +18,6 @@ or XID_Continue properties according to Unicode Standard Annex #31. """ -exclude = [ "target/*", "Cargo.lock" ] - [features] default = [] no_std = [] From 5d30c6d921987573b900a48a7365e7303039cfb6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Jul 2019 15:55:46 +0300 Subject: [PATCH 2/5] exclude irrelevant files from publishing --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4ccfc91..1839c30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,8 @@ or XID_Continue properties according to Unicode Standard Annex #31. """ +exclude = ["/scripts/*", "/.travis.yml"] + [features] default = [] no_std = [] From 7ee668074ad98ff3d20cc21cd55fbd8f540e7909 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Jul 2019 15:58:05 +0300 Subject: [PATCH 3/5] add CI badges --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1839c30..bb18567 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,11 @@ Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31. """ - exclude = ["/scripts/*", "/.travis.yml"] +[badges] +travis-ci = { repository = "unicode-rs/unicode-xid" } + [features] default = [] no_std = [] From 406f09e8d34b7279aea76e588a5f861dec9dc315 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Jul 2019 15:48:09 +0300 Subject: [PATCH 4/5] publish 0.2.0 --- Cargo.toml | 2 +- README.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bb18567..e813762 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "unicode-xid" -version = "0.1.0" +version = "0.2.0" authors = ["erick.tryzelaar ", "kwantam ", ] diff --git a/README.md b/README.md index 4d84dc7..3c1ef2a 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,13 @@ to your `Cargo.toml`: [dependencies] unicode-xid = "0.1.0" ``` + +# changelog + +## 0.2.0 + +- Update to Unicode 12.1.0. + +## 0.1.0 + +- Initial release. From 1bed61b91d8b1bf3740b2dd36b37727dcb6f298c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Jul 2019 16:16:08 +0300 Subject: [PATCH 5/5] use the correct feature name for the new nightly --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 632ae38..7dd95ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,7 +42,7 @@ html_favicon_url = "https://unicode-rs.github.io/unicode-rs_sm.png")] #![no_std] -#![cfg_attr(feature = "bench", feature(test, rustc_private))] +#![cfg_attr(feature = "bench", feature(test, unicode_internals))] #[cfg(test)] #[macro_use]