-
Couldn't load subscription status.
- Fork 358
Comparing changes
Open a pull request
base repository: servo/rust-url
base: v2.5.2
head repository: servo/rust-url
compare: idna-v1.0.3
- 14 commits
- 34 files changed
- 12 contributors
Commits on Sep 13, 2024
-
fix: enable wasip2 feature for wasm32-wasip2 target (#960)
Signed-off-by: Brooks Townsend <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c04aca3 - Browse repository at this point
Copy the full SHA c04aca3View commit details
Commits on Sep 16, 2024
-
Fix idna tests with no_std (#963)
This failed since 464b1f7: (cd idna && cargo test --all-targets --no-default-features --features alloc -- --ignored)
Configuration menu - View commit details
-
Copy full SHA for 22b8237 - Browse repository at this point
Copy the full SHA 22b8237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9404ff5 - Browse repository at this point
Copy the full SHA 9404ff5View commit details
Commits on Sep 19, 2024
-
Add AsciiSet::EMPTY and boolean operators (#969)
* Add AsciiSet::EMPTY and impl ops::Add for AsciiSet In RFCs, the sets of characters to percent-encode are often defined as the union of multiple sets. This change adds an `EMPTY` constant to `AsciiSet` and implements the `Add` trait for `AsciiSet` so that sets can be combined with the `+` operator. AsciiSet now derives `Debug`, `PartialEq`, and `Eq` so that it can be used in tests. * implement ops::Not for AsciiSet * Add const functions for negation / union of AsciiSet
Configuration menu - View commit details
-
Copy full SHA for 5505565 - Browse repository at this point
Copy the full SHA 5505565View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6050a6e - Browse repository at this point
Copy the full SHA 6050a6eView commit details
Commits on Sep 27, 2024
-
refactor and add tests for percent encoding (#977)
* refactor: move AsciiSet related code to ascii_set.rs Makes it a little easier to just look at the code related to the set rather than encoding * Add tests for percent_encoding
Configuration menu - View commit details
-
Copy full SHA for 710e1e7 - Browse repository at this point
Copy the full SHA 710e1e7View commit details
Commits on Sep 30, 2024
-
Add a test for and fix issue #974 (#975)
* Add a test for issue 974 * Fix the issue * rename test
Configuration menu - View commit details
-
Copy full SHA for 7eccac9 - Browse repository at this point
Copy the full SHA 7eccac9View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ebd5cfb - Browse repository at this point
Copy the full SHA ebd5cfbView commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b08a655 - Browse repository at this point
Copy the full SHA b08a655View commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bf089c4 - Browse repository at this point
Copy the full SHA bf089c4View commit details
Commits on Oct 28, 2024
-
fix: support wasm32-wasip2 on stable channel (#983)
Signed-off-by: Brooks Townsend <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30e6258 - Browse repository at this point
Copy the full SHA 30e6258View commit details -
Improve serde error output (#982)
In our tests using the serde impl on `Url`, we found that failing URL serialization says the inverse of what it should say. ```toml [project] name = "foo" version = "0.0.0" dependencies = [ "tqdm ==4.66.0", ] [tool.uv.sources] tqdm = { url = "§invalid#+#*Ä" } ``` ``` error: Failed to parse: `pyproject.toml` Caused by: TOML parse error at line 10, column 16 | 10 | tqdm = { url = "§invalid#+#*Ä" } | ^^^^^^^^^^^^^^^^^ invalid value: string "§invalid#+#*Ä", expected relative URL without a base ``` It says that expected a relative URL without a base, when this was the unexpected input that caused the error. Using `serde::de::Error::custom` oder `serde::de::Error::invalid_value` improves the error message: ``` error: TOML parse error at line 8, column 16 | 8 | tqdm = { url = "§invalid#+#*Ä" } | ^^^^^^^^^^^^^^^^^ relative URL without a base: "§invalid#+#*Ä" ```Configuration menu - View commit details
-
Copy full SHA for 5d363cc - Browse repository at this point
Copy the full SHA 5d363ccView commit details
Commits on Oct 29, 2024
-
OSS-Fuzz: Add more fuzzers (#988)
Signed-off-by: Arthur Chan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08a3268 - Browse repository at this point
Copy the full SHA 08a3268View commit details
Commits on Nov 4, 2024
-
* Adjust Punycode overflow checks * The change made in 1.0.0 incorrectly assumed that the input length limit removed the need to do overflow check when decoding. Now the internal-caller length limit is taken as a permission to skip overflow checks only when encoding. * The RFC gives overflow checking pre-flight math for languages like that don't have checked math. Since Rust does, the code now uses checked_add and checked_mul instead of pre-flight when overflow checks are performed. * Remove no_std category (crates.io doesn't support it, and it is now rejected), use keywords instead * Add benches that use the main idna 1.0 entry point in idna and url * Put the Unicode back end behind an adapter crate * Split fastest ASCII fast path from the rest * Bench hyphen in a domain that is otherwise lower-case ASCII * Adjust MSRV * Add README remarks about alternative Unicode back ends * Change the idna_adapter dependency to crates.io * Address clippy lints * Increment version number of idna to 1.0.3 * Test MSRV with idna unicode-rs back end and test ICU4X back end with 1.67 * Prepare url crate for publication with idna 1.0.3 (#987) --------- Co-authored-by: Manish Goregaokar <[email protected]> Co-authored-by: Valentin Gosu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a683ff - Browse repository at this point
Copy the full SHA 8a683ffView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.5.2...idna-v1.0.3