Added percent-encoding badge (#587)

This commit is contained in:
Aleksandr 2020-05-05 15:47:51 +02:00 committed by GitHub
parent 7cce00a2c3
commit 7a06c79008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View file

@ -82,6 +82,11 @@ on Debian based operating systems.
[sudo] apt install aspell -y [sudo] apt install aspell -y
``` ```
on Mac:
```
brew install aspell
```
On other Linux distributions you might also need to install the `aspell-en` On other Linux distributions you might also need to install the `aspell-en`
package, or similar. package, or similar.

View file

@ -2,7 +2,7 @@
| Recipe | Crates | Categories | | Recipe | Crates | Categories |
|--------|--------|------------| |--------|--------|------------|
| [Percent-encode a string][ex-percent-encode] | [![url-badge]][url] | [![cat-encoding-badge]][cat-encoding] | | [Percent-encode a string][ex-percent-encode] | [![percent-encoding-badge]][url] | [![cat-encoding-badge]][cat-encoding] |
| [Encode a string as application/x-www-form-urlencoded][ex-urlencoded] | [![url-badge]][url] | [![cat-encoding-badge]][cat-encoding] | | [Encode a string as application/x-www-form-urlencoded][ex-urlencoded] | [![url-badge]][url] | [![cat-encoding-badge]][cat-encoding] |
| [Encode and decode hex][ex-hex-encode-decode] | [![data-encoding-badge]][data-encoding] | [![cat-encoding-badge]][cat-encoding] | | [Encode and decode hex][ex-hex-encode-decode] | [![data-encoding-badge]][data-encoding] | [![cat-encoding-badge]][cat-encoding] |
| [Encode and decode base64][ex-base64] | [![base64-badge]][base64] | [![cat-encoding-badge]][cat-encoding] | | [Encode and decode base64][ex-base64] | [![base64-badge]][base64] | [![cat-encoding-badge]][cat-encoding] |

View file

@ -1,6 +1,6 @@
## Percent-encode a string ## Percent-encode a string
[![url-badge]][percent-encoding] [![cat-encoding-badge]][cat-encoding] [![percent-encoding-badge]][percent-encoding] [![cat-encoding-badge]][cat-encoding]
Encode an input string with [percent-encoding] using the [`utf8_percent_encode`] Encode an input string with [percent-encoding] using the [`utf8_percent_encode`]
function from the `percent-encoding` crate. Then decode using the [`percent_decode`] function from the `percent-encoding` crate. Then decode using the [`percent_decode`]

View file

@ -100,6 +100,7 @@ Keep lines sorted.
[num]: https://docs.rs/num/ [num]: https://docs.rs/num/
[num_cpus-badge]: https://badge-cache.kominick.com/crates/v/num_cpus.svg?label=num_cpus [num_cpus-badge]: https://badge-cache.kominick.com/crates/v/num_cpus.svg?label=num_cpus
[num_cpus]: https://docs.rs/num_cpus/ [num_cpus]: https://docs.rs/num_cpus/
[percent-encoding-badge]: https://badge-cache.kominick.com/crates/v/percent-encoding.svg?label=percent-encoding
[postgres-badge]: https://badge-cache.kominick.com/crates/v/postgres.svg?label=postgres [postgres-badge]: https://badge-cache.kominick.com/crates/v/postgres.svg?label=postgres
[postgres]: https://docs.rs/postgres/0.15.2/postgres/ [postgres]: https://docs.rs/postgres/0.15.2/postgres/
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand [rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand