Skip to content

Update tests to Unicode 16.0 #1045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [1.63.0, 1.67.0, stable, beta, nightly]
rust: [1.63.0, 1.82.0, stable, beta, nightly]
exclude:
- os: macos-latest
rust: 1.67.0
rust: 1.82.0
- os: windows-latest
rust: 1.67.0
rust: 1.82.0
- os: macos-latest
rust: beta
- os: windows-latest
Expand All @@ -41,13 +41,6 @@ jobs:
matrix.rust == '1.63.0'
run: |
cargo update -p idna_adapter --precise 1.1.0
- name: Downgrade deps on Rust 1.67.0
if: |
matrix.rust == '1.67.0'
run: |
cargo update -p zerofrom --precise 0.1.4
cargo update -p yoke --precise 0.7.4
cargo update -p litemap --precise 0.7.3
- name: Add `aarch64-unknown-none` toolchain for `no_std` tests
if: |
matrix.os == 'ubuntu-latest' &&
Expand All @@ -66,7 +59,7 @@ jobs:
if: |
matrix.os == 'windows-latest' &&
matrix.rust != '1.63.0' &&
matrix.rust != '1.67.0'
matrix.rust != '1.82.0'
run: cargo test --test debugger_visualizer --features "url/debugger_visualizer,url_debug_tests/debugger_visualizer" -- --test-threads=1 || echo "debugger test failed"
continue-on-error: true # Fails on GH actions, but not locally.
- name: Test `no_std` support
Expand Down
4 changes: 4 additions & 0 deletions idna/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ By default, `idna` uses [ICU4X](https://github.com/unicode-org/icu4x/) as its Un
* The `Idna::to_ascii_inner` method has been removed. It didn't make sense as a public method, since callers were unable to figure out if there were errors. (A GitHub search found no callers for this method.)
* Punycode labels whose decoding does not yield any non-ASCII characters are now treated as being in error.
* When turning off default cargo features, the cargo feature `compiled_data` needs to be explicitly enabled.

## License

MIT OR Apache-2.0 for the code. Additionally, there is a test data file, IdnaTestV2.txt, under Unicode-3.0.
Loading
Loading