mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-24 20:43:07 +00:00
Added percent-encoding badge (#587)
This commit is contained in:
parent
7cce00a2c3
commit
7a06c79008
4 changed files with 8 additions and 2 deletions
|
@ -82,6 +82,11 @@ on Debian based operating systems.
|
|||
[sudo] apt install aspell -y
|
||||
```
|
||||
|
||||
on Mac:
|
||||
```
|
||||
brew install aspell
|
||||
```
|
||||
|
||||
On other Linux distributions you might also need to install the `aspell-en`
|
||||
package, or similar.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| 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 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] |
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## 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`]
|
||||
function from the `percent-encoding` crate. Then decode using the [`percent_decode`]
|
||||
|
|
|
@ -100,6 +100,7 @@ Keep lines sorted.
|
|||
[num]: https://docs.rs/num/
|
||||
[num_cpus-badge]: https://badge-cache.kominick.com/crates/v/num_cpus.svg?label=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]: https://docs.rs/postgres/0.15.2/postgres/
|
||||
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand
|
||||
|
|
Loading…
Reference in a new issue