Alex Touchet
291f7b901f
Remove obsolete badge references
2023-07-11 15:23:38 -07:00
Valentin Gosu
a3e07c7de5
Merge pull request #840 from servo/update-ver
...
Update url to 2.4.0 and release new version
2023-06-05 12:03:24 +03:00
Valentin Gosu
1317d9d27f
update dependencies
2023-06-05 11:58:51 +03:00
Valentin Gosu
a25f3a89e9
Update url to v2.4.0
2023-06-05 11:46:02 +03:00
Valentin Gosu
2a12745baf
Update idna to 0.4.0
2023-06-05 11:43:44 +03:00
Valentin Gosu
1e6fd5db7c
Update form_urlencoded to 1.2.0
2023-06-05 11:36:41 +03:00
Valentin Gosu
90833ff69f
Update percent-encoding to 2.3.0
2023-06-05 11:35:52 +03:00
Valentin Gosu
f5b961cfa2
Update data-url to 0.3.0
2023-06-05 11:33:54 +03:00
Valentin Gosu
0e25146814
Merge pull request #839 from servo/fix-838
...
Fix issues with file drives
2023-06-01 10:20:39 +03:00
Valentin Gosu
21f32d64b7
Fix lint
2023-05-31 01:07:53 +03:00
Valentin Gosu
df88a29c91
Also fix issue where path segment could be confused with drive letter because we don't check if the path is empty
2023-05-31 01:03:31 +03:00
Valentin Gosu
5432fd8fed
Fix 838
2023-05-31 01:03:31 +03:00
Valentin Gosu
206d37851b
Merge pull request #832 from dtolnay-contrib/serde
...
Compile with serde feature on Rust playground and docs.rs
2023-04-17 11:08:17 +02:00
David Tolnay
0238febe01
Compile with serde feature on Rust playground and docs.rs
2023-04-15 10:31:32 -07:00
Valentin Gosu
6385c81d9b
Merge pull request #722 from madsmtm/partial_no_std
...
`no_std` support for `form_urlencoded`, `data-url` and `idna`
2023-04-02 20:30:09 +02:00
Mads Marquart
4afc9829dc
Fix error wording in data-url
and idna
when missing alloc
feature
2023-04-01 14:44:11 +03:00
Valentin Gosu
1006cf54dd
Update msrv to 1.56 to keep up with serde-derive ( #827 )
2023-03-20 10:46:15 +01:00
Quentin Santos
c6299f92d8
Url is special ( #826 )
...
* Make SchemeType::from into From trait
* Expose whether URL is special as Url::is_special
2023-03-18 10:12:23 +01:00
Quentin Santos
a4633bed0c
No colon when setting empty password ( #825 )
...
* set empty password tests
* Fix empty password should not keep colon
* Add test for setting empty query
* Address clippy::manual_is_ascii_check
* No point in decoding UTF-8 to check ASCII
* Remove obsolete is_ascii_hex_digit
---------
Co-authored-by: Ricardo Monteiro <ricardo.monteiro@getmanta.com>
2023-03-17 21:43:35 +01:00
Quentin Santos
1092960635
Avoid string allocation to get length of port ( #823 )
2023-03-07 22:20:07 +01:00
Quentin Santos
74b8694568
Fix anarchist URL where path starts with // ( #817 )
...
* Handle null host with leading empty path segment
* Disable failing test
* Fix invariants of anarchist URLs + empty segment
* Handle empty leading segment in relative paths
* Handle case where input starts with a slash
* Unify handling of leading empty path segment
* Avoid casting back and forth between u32 and usize
* Fix use of .get() that should never fail
2023-03-05 16:42:38 +01:00
Mads Marquart
934edd4b1a
Test no_std support in CI
2023-03-01 15:57:15 +01:00
Mads Marquart
a24c4d6264
Make idna no_std compatible
...
Add default feature flag "std" that enables a `std::error::Error` impl for `Errors`.
2023-03-01 15:57:14 +01:00
Mads Marquart
070b8a3d9f
Make data-url no_std compatible
2023-03-01 15:53:40 +01:00
Mads Marquart
57ea92efca
Make form_urlencoded no_std compatible
2023-03-01 15:53:40 +01:00
Mads Marquart
964fb73ebf
Add std
feature to percent_encoding
...
For future compatibility
2023-03-01 15:53:39 +01:00
Valentin Gosu
edeaea7f1e
Merge pull request #819 from servo/wpt
...
Update urltestdata.json WPT test cases
2023-03-01 11:01:07 +01:00
Valentin Gosu
d000efed75
Fix clippy
2023-02-28 23:50:36 +01:00
Valentin Gosu
05312057ff
Skip failing WPT tests
2023-02-28 23:38:11 +01:00
Valentin Gosu
e33ae6a569
update WPT test data
2023-02-28 23:37:38 +01:00
Valentin Gosu
93fc700cf2
unicode WPT tests now pass. No need to skip them
2023-02-28 23:03:12 +01:00
Valentin Gosu
b65a45515c
Merge pull request #814 from klensy/percent_encode_byte-fast
...
percent_encoding: faster percent_encode_byte
2023-02-28 22:02:43 +01:00
klensy
12d6abf65c
percent_encoding: faster percent_encode_byte
2023-02-27 18:55:56 +03:00
Valentin Gosu
6ef3876842
Merge pull request #813 from CYBAI/strip-for-opaque
...
Implement potentially strip spaces for opaque paths
2023-02-20 10:40:10 +01:00
cybai
fdbe16cd62
Implement potentially strip spaces for opaque paths
2023-02-20 12:31:09 +09:00
nickelc
dbe60a4930
Replace unmaintained/outdated GitHub Actions ( #811 )
...
Updates all GitHub Actions and replaces the unmaintained `actions-rs`
actions with `dtolnay/rust-toolchain`, `taiki-e/install-action` and
plain cargo commands.
2023-02-04 13:35:57 +01:00
Valentin Gosu
1a4492c092
Merge pull request #810 from nickelc/clippy-warnings
...
Fix clippy warnings
2023-02-03 18:04:54 +01:00
Constantin Nickel
1e39e75907
Fix clippy warnings
...
- `clippy::explicit_auto_deref`
- `clippy::manual_is_ascii_check`
- `clippy::needless_borrowed_reference`
- `clippy::needless_lifetimes`
- `clippy::partial_eq_none`
2023-02-03 17:47:46 +01:00
Valentin Gosu
1c1e406874
Merge pull request #674 from 3scale-rs/add-authority-fn
...
url: add the authority method
2022-10-26 09:17:38 +02:00
Alejandro Martinez Ruiz
d8d4753a4c
url/tests/unit: add tests for the has_authority and authority methods
...
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
2022-10-25 13:21:26 +02:00
Alejandro Martinez Ruiz
8b3ee5a369
url: add the authority method
...
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
2022-10-25 13:21:25 +02:00
Valentin Gosu
359bc90a4f
Merge pull request #792 from servo/version_bump_2.3.1
...
Bump url version to 2.3.1 and bump minor for dependencies
2022-09-08 09:42:08 +02:00
Valentin Gosu
ad8911ae54
Bump url version to 2.3.1 and bump minor for dependencies
2022-09-07 20:58:41 +02:00
Valentin Gosu
35abc325ba
Merge pull request #791 from servo/ver_2.3.0
...
Bump url version to 2.3.0
2022-09-07 13:01:06 +02:00
Valentin Gosu
25266fcc36
Bump url version to 2.3.0
2022-09-07 12:33:06 +02:00
Valentin Gosu
587e9628a9
Merge pull request #790 from crowlKats/remove_idna
...
Make IDNA dependency non-optional
2022-09-07 12:19:54 +02:00
crowlkats
eaa23e556f
remove IDNA feature
2022-09-07 12:03:02 +02:00
Divy Srivastava
a3df36528a
feat(url): add quirks::internal_components
( #788 )
...
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-09-07 10:09:12 +02:00
Valentin Gosu
868719da3f
Merge pull request #734 from andrewbanchich/fix-set-host
...
Fix setting file hosts to `None`
2022-09-07 09:12:56 +02:00
Andrew Banchich
eb3f20d7e4
Fix setting file hosts to None
2022-09-06 18:18:28 -04:00