Commit graph

33 commits

Author SHA1 Message Date
Ridwan Abdilahi 6353d50086 Update the minimum rust-version to 1.51 to fix a build break on the 1.45 CI pipeline due to an update of dependencies that now require the cargo resolver feature to be stablized. 2022-08-16 11:02:12 -07:00
Valentin Gosu cbc6a6d9a1
Fix clippy lint (#765)
* Fix clippy lint
2022-04-28 23:13:12 +02:00
Alex Touchet 338b54f66d Update Readme and use SPDX license format 2022-02-24 19:51:54 -08:00
Luca Casonato 52d736e0ac
Update Rust MSRV to 1.45 2022-01-31 15:53:50 +01:00
Maros Grego d4b4390289 Lint 2021-03-10 10:30:15 +01:00
Maros Grego fd34ccb475 Add alloc dependencies behind an optional alloc feature 2021-03-10 10:02:22 +01:00
Maros Grego 5fac16f1a6 Remove the beef implementation 2021-03-10 09:08:32 +01:00
Maros Grego 0229743ca5 Use collections from the alloc crate in percent_encoding 2021-03-10 08:53:53 +01:00
kevaundray 5d3c78faee
typos
chacters -> characters
simlar -> similar
"This used" -> "This is used"
2021-02-18 17:05:45 +00:00
Dirkjan Ochtman 6198d3f2e9 percent_encoding: use regular crate layout 2020-08-25 11:29:59 +02:00
Dirkjan Ochtman 2bf4bedda5 chore: update crates to 2018 edition 2020-08-24 22:35:38 +02:00
Dirkjan Ochtman 2c0be97dc6 chore: use easier to understand control flow for unsafe code
Since the original change was made, we bumped MSRV to 1.36.0, which
has enabled NLL on Rust 2015.
2020-08-24 22:09:30 +02:00
Josh Mcguigan 3b587ea32f unsafe audit 2020-08-24 16:14:49 +02:00
Dirkjan Ochtman 3e4225c28e Fix formatting with cargo fmt 2020-08-24 15:59:50 +02:00
David Flemström d937053e6a Make percent-encoding no_std-compatible 2020-08-19 22:37:43 +01:00
chrysn 7aaea8fae6 decode size hint: Fix lower boundary
The size of a decoded URI can shrink only in fixed steps of 3 byte
("%xx") to 1 byte, thus the resulting size is always rounded up (2 bytes
can not shrink any further), which is most easily implemented in integer
division by adding `divisor - 1`.
2020-08-19 22:22:19 +01:00
Nicholas Bishop 9a75a29039
Fix typo in precent-encoding documentation (#611) 2020-06-24 11:17:19 +02:00
Douman ed7b991f34
Remove pub access to contains method 2019-07-24 13:39:26 +02:00
Douman 6b5091fb11
percent-encoding: bump to 2.1.0 2019-07-24 10:56:40 +02:00
Douman 976341e3e6 Expose AsciiSet::contains 2019-07-24 07:21:32 +02:00
Douman 0d33781fbb percent-encoding: Allow to remove character from AsciiSet 2019-07-24 07:13:03 +02:00
Simon Sapin 7f1bd6ce1c percent-encoding: make sets be values of one type, instead of types that implement a trait
Fix https://github.com/servo/rust-url/issues/388
2019-07-17 17:26:48 +02:00
Simon Sapin c276a8237a rustfmt 2019-07-15 18:35:08 +02:00
est31 5ae0998d22 Remove AsciiExt
It is deprecated since 1.26.0 if the inherent
methods, that are stable since 1.23.0,
want to be relied on.
2019-07-13 11:41:13 +02:00
Nicholas Bishop dc0b0a229c
Fix typo: charcter -> character 2019-05-12 17:13:43 -04:00
Steven Fackler 85af99e195 Bump version numbers 2018-11-06 10:45:19 -08:00
Steven Fackler 20bebc236e Escape backslash in special URL path components
Closes #468
2018-11-06 10:07:17 -08:00
Simon Sapin 53e19cd005 percent-encoding v1.0.1 2017-11-11 10:44:29 +01:00
Igor Gnatenko 3880b8ef13 add licenses to sub-crates
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-05 13:43:51 +02:00
Igor Gnatenko c7daf1fc0a percent-encoding doesn't require any dev-dependencies 2017-07-05 13:36:24 +02:00
Simon Sapin dfaacf0f07 Dash in cargo package name 2017-06-13 18:44:12 +02:00
Simon Sapin 4d0054b5a4 Don’t use a single-file src directory for percent_encoding 2017-06-13 18:43:30 +02:00
Sean McArthur 9d36a3973d move percent_encoding to its own crate 2017-06-13 18:42:12 +02:00