Skip to content

Commit 40aa05a

Browse files
author
bors-servo
authored
Auto merge of #351 - behnam:ucd10, r=SimonSapin
[idna] Update data to Unicode 10.0 and fix logic * Change the behavior of ToASCII step to match the spec and prevent failures on some cases when a domain name starts with leading dots (FULL STOPs), as requested in #166. (Another attempt on #337 and #171) * Update `IdnaTest.txt` file to UCD 10.0 and fix Validation Rules, specially Bidi Rules, for the tests to pass. * Add TODO marks for new flags introduced in Unicode 10.0 version of UTS#46. (http://www.unicode.org/reports/tr46/proposed.html) * Add integration test for `rust-url` crate for the new behavior. Fix #166 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/351) <!-- Reviewable:end -->
2 parents 37557e4 + 3c7da07 commit 40aa05a

File tree

5 files changed

+8087
-5219
lines changed

5 files changed

+8087
-5219
lines changed

idna/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "idna"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
authors = ["The rust-url developers"]
55
description = "IDNA (Internationalizing Domain Names in Applications) and Punycode."
66
repository = "https://github.com/servo/rust-url/"
@@ -14,11 +14,14 @@ test = false
1414
name = "tests"
1515
harness = false
1616

17+
[[test]]
18+
name = "unit"
19+
1720
[dev-dependencies]
1821
rustc-test = "0.1"
1922
rustc-serialize = "0.3"
2023

2124
[dependencies]
2225
unicode-bidi = "0.3"
23-
unicode-normalization = "0.1.3"
26+
unicode-normalization = "0.1.5"
2427
matches = "0.1"

0 commit comments

Comments
 (0)