mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-22 03:23:05 +00:00
centralize links for badges, categories, and crates
This commit is contained in:
parent
156ce60444
commit
ec08ad6d7a
9 changed files with 159 additions and 304 deletions
|
@ -200,17 +200,13 @@ defers crate selection to that project. Any crates that have already
|
|||
been evaluated as part of that process are in scope for the cookbook,
|
||||
as are crates that are pending evaluation.
|
||||
|
||||
<!-- Links-->
|
||||
{{#include links.md}}
|
||||
|
||||
[index]: intro.html
|
||||
[error-docs]: https://doc.rust-lang.org/book/error-handling.html
|
||||
[error-blog]: https://brson.github.io/2016/11/30/starting-with-error-chain
|
||||
[error-chain]: https://docs.rs/error-chain/
|
||||
[Rust Libz Blitz]: https://internals.rust-lang.org/t/rust-libz-blitz/5184
|
||||
[cat-science-badge]: https://badge-cache.kominick.com/badge/science--x.svg?style=social
|
||||
[cat-science]: https://crates.io/categories/science
|
||||
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand
|
||||
[rand]: https://docs.rs/rand/
|
||||
[crates.io]: https://crates.io
|
||||
[docs.rs]: https://docs.rs
|
||||
[Cargo.toml]: http://doc.crates.io/manifest.html
|
||||
|
|
26
src/app.md
26
src/app.md
|
@ -580,31 +580,9 @@ fn run() -> Result<()> {
|
|||
# quick_main!(run);
|
||||
```
|
||||
|
||||
<!-- Categories -->
|
||||
{{#include links.md}}
|
||||
|
||||
[cat-command-line-badge]: https://badge-cache.kominick.com/badge/command_line--x.svg?style=social
|
||||
[cat-command-line]: https://crates.io/categories/command-line-interface
|
||||
[cat-compression-badge]: https://badge-cache.kominick.com/badge/compression--x.svg?style=social
|
||||
[cat-compression]: https://crates.io/categories/compression
|
||||
[cat-filesystem-badge]: https://badge-cache.kominick.com/badge/filesystem--x.svg?style=social
|
||||
[cat-filesystem]: https://crates.io/categories/filesystem
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[clap-badge]: https://badge-cache.kominick.com/crates/v/clap.svg?label=clap
|
||||
[clap]: https://docs.rs/clap/
|
||||
[flate2-badge]: https://badge-cache.kominick.com/crates/v/flate2.svg?label=flate2
|
||||
[flate2]: https://docs.rs/flate2/
|
||||
[glob-badge]:https://badge-cache.kominick.com/crates/v/glob.svg?label=glob
|
||||
[glob]: https://docs.rs/glob/
|
||||
[same_file-badge]: https://badge-cache.kominick.com/crates/v/same_file.svg?label=same_file
|
||||
[same_file]: https://docs.rs/same-file/
|
||||
[tar-badge]: https://badge-cache.kominick.com/crates/v/tar.svg?label=tar
|
||||
[tar]: https://docs.rs/tar/
|
||||
[walkdir-badge]: https://badge-cache.kominick.com/crates/v/walkdir.svg?label=walkdir
|
||||
[walkdir]: https://docs.rs/walkdir/
|
||||
|
||||
<!-- Reference -->
|
||||
<!-- API Reference -->
|
||||
|
||||
[`Archive::entries`]: https://docs.rs/tar/*/tar/struct.Archive.html#method.entries
|
||||
[`Archive::unpack`]: https://docs.rs/tar/*/tar/struct.Archive.html#method.unpack
|
||||
|
|
|
@ -847,49 +847,9 @@ fn run() -> Result<()> {
|
|||
# quick_main!(run);
|
||||
```
|
||||
|
||||
<!-- Categories -->
|
||||
{{#include links.md}}
|
||||
|
||||
[cat-no-std-badge]: https://badge-cache.kominick.com/badge/no_std--x.svg?style=social
|
||||
[cat-no-std]: https://crates.io/categories/no-std
|
||||
[cat-caching-badge]: https://badge-cache.kominick.com/badge/caching--x.svg?style=social
|
||||
[cat-caching]: https://crates.io/categories/caching
|
||||
[cat-cryptography-badge]: https://badge-cache.kominick.com/badge/cryptography--x.svg?style=social
|
||||
[cat-cryptography]: https://crates.io/categories/cryptography
|
||||
[cat-encoding-badge]: https://badge-cache.kominick.com/badge/encoding--x.svg?style=social
|
||||
[cat-encoding]: https://crates.io/categories/encoding
|
||||
[cat-filesystem-badge]: https://badge-cache.kominick.com/badge/filesystem--x.svg?style=social
|
||||
[cat-filesystem]: https://crates.io/categories/filesystem
|
||||
[cat-science-badge]: https://badge-cache.kominick.com/badge/science--x.svg?style=social
|
||||
[cat-science]: https://crates.io/categories/science
|
||||
[cat-os-badge]: https://badge-cache.kominick.com/badge/OS--x.svg?style=social
|
||||
[cat-os]: https://crates.io/categories/os
|
||||
[cat-rust-patterns-badge]: https://badge-cache.kominick.com/badge/rust_patterns--x.svg?style=social
|
||||
[cat-rust-patterns]: https://crates.io/categories/rust-patterns
|
||||
[cat-text-processing-badge]: https://badge-cache.kominick.com/badge/text_processing--x.svg?style=social
|
||||
[cat-text-processing]: https://crates.io/categories/text-processing
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[bitflags-badge]: https://badge-cache.kominick.com/crates/v/bitflags.svg?label=bitflags
|
||||
[bitflags]: https://docs.rs/bitflags/
|
||||
[byteorder-badge]: https://badge-cache.kominick.com/crates/v/byteorder.svg?label=byteorder
|
||||
[byteorder]: https://docs.rs/byteorder/
|
||||
[data-encoding-badge]: https://badge-cache.kominick.com/crates/v/data-encoding.svg?label=data-encoding
|
||||
[data-encoding]: https://docs.rs/data-encoding/
|
||||
[lazy_static]: https://docs.rs/lazy_static/
|
||||
[lazy_static-badge]: https://badge-cache.kominick.com/crates/v/lazy_static.svg?label=lazy_static
|
||||
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand
|
||||
[rand]: https://docs.rs/rand/
|
||||
[std-badge]: https://badge-cache.kominick.com/badge/std-1.19.0-blue.svg
|
||||
[std]: https://doc.rust-lang.org/std
|
||||
[regex]: https://docs.rs/regex/
|
||||
[regex-badge]: https://badge-cache.kominick.com/crates/v/regex.svg?label=regex
|
||||
[memmap]: https://docs.rs/memmap/
|
||||
[memmap-badge]: https://badge-cache.kominick.com/crates/v/memmap.svg?label=memmap
|
||||
[ring]: https://docs.rs/ring/
|
||||
[ring-badge]: https://badge-cache.kominick.com/crates/v/ring.svg?label=ring
|
||||
|
||||
<!-- API links -->
|
||||
<!-- API Reference -->
|
||||
|
||||
[`bitflags!`]: https://docs.rs/bitflags/*/bitflags/macro.bitflags.html
|
||||
[`BufRead::lines`]: https://doc.rust-lang.org/std/io/trait.BufRead.html#method.lines
|
||||
|
@ -908,14 +868,12 @@ fn run() -> Result<()> {
|
|||
[`Regex::replace_all`]: https://docs.rs/regex/0.2.2/regex/struct.Regex.html#method.replace_all
|
||||
[`rand::Rand`]: https://doc.rust-lang.org/rand/rand/trait.Rand.html
|
||||
[`Range`]: https://doc.rust-lang.org/rand/rand/distributions/range/struct.Range.html
|
||||
[rand-distributions]: https://doc.rust-lang.org/rand/rand/distributions/index.html
|
||||
[`Regex`]: https://doc.rust-lang.org/regex/regex/struct.Regex.html
|
||||
[`rand::Rand`]: https://doc.rust-lang.org/rand/rand/trait.Rand.html
|
||||
[`rand::Rng`]: https://doc.rust-lang.org/rand/rand/trait.Rng.html
|
||||
[`rand::thread_rng`]: https://doc.rust-lang.org/rand/rand/fn.thread_rng.html
|
||||
[`regex::RegexSetBuilder`]: https://doc.rust-lang.org/regex/regex/struct.RegexSetBuilder.html
|
||||
[`regex::RegexSet`]: https://doc.rust-lang.org/regex/regex/struct.RegexSet.html
|
||||
[replacement string syntax]: https://docs.rs/regex/0.2.2/regex/struct.Regex.html#replacement-string-syntax
|
||||
[`Output`]: https://doc.rust-lang.org/std/process/struct.Output.html
|
||||
[`Command`]: https://doc.rust-lang.org/std/process/struct.Command.html
|
||||
[`HashMap`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html
|
||||
|
@ -926,8 +884,10 @@ fn run() -> Result<()> {
|
|||
[`seek`]: https://doc.rust-lang.org/std/fs/struct.File.html#method.seek
|
||||
[`digest::Context`]: https://docs.rs/ring/*/ring/digest/struct.Context.html
|
||||
[`digest::Digest`]: https://docs.rs/ring/*/ring/digest/struct.Digest.html
|
||||
[rand-distributions]: https://doc.rust-lang.org/rand/rand/distributions/index.html
|
||||
[replacement string syntax]: https://docs.rs/regex/0.2.2/regex/struct.Regex.html#replacement-string-syntax
|
||||
|
||||
<!-- Reference -->
|
||||
<!-- Other Reference -->
|
||||
|
||||
[race-condition-file]: https://en.wikipedia.org/wiki/Race_condition#File_systems
|
||||
[raw string literals]: https://doc.rust-lang.org/reference/tokens.html#raw-string-literals
|
||||
|
|
|
@ -232,35 +232,10 @@ fn run() -> Result<()> {
|
|||
# quick_main!(run);
|
||||
```
|
||||
|
||||
<!-- Categories -->
|
||||
{{#include links.md}}
|
||||
|
||||
[cat-concurrency-badge]: https://badge-cache.kominick.com/badge/concurrency--x.svg?style=social
|
||||
[cat-concurrency]: https://crates.io/categories/concurrency
|
||||
[cat-rendering-badge]: https://badge-cache.kominick.com/badge/rendering--x.svg?style=social
|
||||
[cat-rendering]: https://crates.io/categories/rendering
|
||||
[cat-science-badge]: https://badge-cache.kominick.com/badge/science--x.svg?style=social
|
||||
[cat-science]: https://crates.io/categories/science
|
||||
<!-- API Reference -->
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[crossbeam-badge]: https://badge-cache.kominick.com/crates/v/crossbeam.svg?label=crossbeam
|
||||
[crossbeam]: https://docs.rs/crossbeam/
|
||||
[image-badge]: https://badge-cache.kominick.com/crates/v/image.svg?label=image
|
||||
[image]: https://docs.rs/image/
|
||||
[num-badge]: https://badge-cache.kominick.com/crates/v/num.svg?label=num
|
||||
[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/
|
||||
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand
|
||||
[rand]: https://docs.rs/rand/
|
||||
[rayon-badge]: https://badge-cache.kominick.com/crates/v/rayon.svg?label=rayon
|
||||
[rayon]: https://docs.rs/rayon/
|
||||
[threadpool-badge]: https://badge-cache.kominick.com/crates/v/threadpool.svg?label=threadpool
|
||||
[threadpool]: https://docs.rs/threadpool/
|
||||
|
||||
<!-- Reference -->
|
||||
|
||||
[Julia set]: https://en.wikipedia.org/wiki/Julia_set
|
||||
[`ImageBuffer::new`]: https://docs.rs/image/*/image/struct.ImageBuffer.html#method.new
|
||||
[`ImageBuffer::put_pixel`]: https://docs.rs/image/*/image/struct.ImageBuffer.html#method.put_pixel
|
||||
[`ImageBuffer::save`]: https://docs.rs/image/*/image/struct.ImageBuffer.html#method.save
|
||||
|
@ -276,3 +251,7 @@ fn run() -> Result<()> {
|
|||
[`num_cpus::get`]: https://docs.rs/num_cpus/*/num_cpus/fn.get.html
|
||||
[`par_iter_mut`]: https://docs.rs/rayon/*/rayon/iter/trait.IntoParallelRefMutIterator.html#tymethod.par_iter_mut
|
||||
[`par_sort_unstable`]: https://docs.rs/rayon/*/rayon/slice/trait.ParallelSliceMut.html#method.par_sort_unstable
|
||||
|
||||
<!-- Other Reference -->
|
||||
|
||||
[Julia set]: https://en.wikipedia.org/wiki/Julia_set
|
||||
|
|
|
@ -597,38 +597,21 @@ West Hollywood,CA,37031,34.0900000,-118.3608333";
|
|||
|
||||
_Disclaimer: this example has been adapted from [the csv crate tutorial](https://docs.rs/csv/*/csv/tutorial/index.html#filter-by-search)_.
|
||||
|
||||
<!-- Categories -->
|
||||
{{#include links.md}}
|
||||
|
||||
[cat-encoding-badge]: https://badge-cache.kominick.com/badge/encoding--x.svg?style=social
|
||||
[cat-encoding]: https://crates.io/categories/encoding
|
||||
<!-- API Reference -->
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[base64-badge]: https://badge-cache.kominick.com/crates/v/base64.svg?label=base64
|
||||
[base64]: https://docs.rs/base64/
|
||||
[data-encoding-badge]: https://badge-cache.kominick.com/crates/v/data-encoding.svg?label=data-encoding
|
||||
[data-encoding]: https://docs.rs/data-encoding/
|
||||
[serde-json-badge]: https://badge-cache.kominick.com/crates/v/serde_json.svg?label=serde_json
|
||||
[serde-json]: https://docs.serde.rs/serde_json/
|
||||
[toml-badge]: https://badge-cache.kominick.com/crates/v/toml.svg?label=toml
|
||||
[toml]: https://docs.rs/toml/
|
||||
[url-badge]: https://badge-cache.kominick.com/crates/v/url.svg?label=url
|
||||
[url]: https://docs.rs/url/
|
||||
[csv-badge]: https://badge-cache.kominick.com/crates/v/csv.svg?label=csv
|
||||
[csv]: https://docs.rs/csv/
|
||||
[serde-badge]: https://badge-cache.kominick.com/crates/v/serde.svg?label=serde
|
||||
[serde]: https://docs.rs/serde/
|
||||
|
||||
<!-- Reference -->
|
||||
|
||||
[percent-encoding]: https://en.wikipedia.org/wiki/Percent-encoding
|
||||
[`utf8_percent_encode`]: https://docs.rs/url/1.*/url/percent_encoding/fn.utf8_percent_encode.html
|
||||
[`percent_decode`]: https://docs.rs/url/1.*/url/percent_encoding/fn.percent_decode.html
|
||||
[application/x-www-form-urlencoded]: https://url.spec.whatwg.org/#application/x-www-form-urlencoded
|
||||
[`csv::Writer`]: https://docs.rs/csv/*/csv/struct.Writer.html
|
||||
[`csv::invalid_option`]: https://docs.rs/csv/*/csv/fn.invalid_option.html
|
||||
[`flush`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.flush
|
||||
[`form_urlencoded::byte_serialize`]: https://docs.rs/url/1.4.0/url/form_urlencoded/fn.byte_serialize.html
|
||||
[`form_urlencoded::parse`]: https://docs.rs/url/*/url/form_urlencoded/fn.parse.html
|
||||
[`csv::Writer`]: https://docs.rs/csv/*/csv/struct.Writer.html
|
||||
[`write_record`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.write_record
|
||||
[`percent_decode`]: https://docs.rs/url/1.*/url/percent_encoding/fn.percent_decode.html
|
||||
[`serialize`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.serialize
|
||||
[`flush`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.flush
|
||||
[`csv::invalid_option`]: https://docs.rs/csv/*/csv/fn.invalid_option.html
|
||||
[`utf8_percent_encode`]: https://docs.rs/url/1.*/url/percent_encoding/fn.utf8_percent_encode.html
|
||||
[`write_record`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.write_record
|
||||
|
||||
<!-- Other Reference -->
|
||||
|
||||
[application/x-www-form-urlencoded]: https://url.spec.whatwg.org/#application/x-www-form-urlencoded
|
||||
[percent-encoding]: https://en.wikipedia.org/wiki/Percent-encoding
|
||||
|
|
119
src/intro.md
119
src/intro.md
|
@ -116,124 +116,7 @@ community. It needs and welcomes help. For details see
|
|||
| [Log to the Unix syslog][ex-log-syslog] | [![log-badge]][log] [![syslog-badge]][syslog] | [![cat-debugging-badge]][cat-debugging] |
|
||||
| [Log messages to a custom location][ex-log-custom] | [![log-badge]][log] | [![cat-debugging-badge]][cat-debugging] |
|
||||
|
||||
<!--
|
||||
|
||||
Links, in a few categories. Follow the existing structure.
|
||||
|
||||
Individual pages contain a subset of these exact links, depending on
|
||||
the crates and categories of their examples.
|
||||
|
||||
Keep lines sorted.
|
||||
|
||||
-->
|
||||
|
||||
<!-- Categories -->
|
||||
|
||||
[cat-no-std-badge]: https://badge-cache.kominick.com/badge/no_std--x.svg?style=social
|
||||
[cat-no-std]: https://crates.io/categories/no-std
|
||||
[cat-caching-badge]: https://badge-cache.kominick.com/badge/caching--x.svg?style=social
|
||||
[cat-caching]: https://crates.io/categories/caching
|
||||
[cat-command-line-badge]: https://badge-cache.kominick.com/badge/command_line--x.svg?style=social
|
||||
[cat-command-line]: https://crates.io/categories/command-line-interface
|
||||
[cat-compression-badge]: https://badge-cache.kominick.com/badge/compression--x.svg?style=social
|
||||
[cat-compression]: https://crates.io/categories/compression
|
||||
[cat-concurrency-badge]: https://badge-cache.kominick.com/badge/concurrency--x.svg?style=social
|
||||
[cat-concurrency]: https://crates.io/categories/concurrency
|
||||
[cat-cryptography-badge]: https://badge-cache.kominick.com/badge/cryptography--x.svg?style=social
|
||||
[cat-cryptography]: https://crates.io/categories/cryptography
|
||||
[cat-science-badge]: https://badge-cache.kominick.com/badge/science--x.svg?style=social
|
||||
[cat-science]: https://crates.io/categories/science
|
||||
[cat-rendering-badge]: https://badge-cache.kominick.com/badge/rendering--x.svg?style=social
|
||||
[cat-rendering]: https://crates.io/categories/rendering
|
||||
[cat-debugging-badge]: https://badge-cache.kominick.com/badge/debugging--x.svg?style=social
|
||||
[cat-debugging]: https://crates.io/categories/debugging
|
||||
[cat-encoding-badge]: https://badge-cache.kominick.com/badge/encoding--x.svg?style=social
|
||||
[cat-encoding]: https://crates.io/categories/encoding
|
||||
[cat-filesystem-badge]: https://badge-cache.kominick.com/badge/filesystem--x.svg?style=social
|
||||
[cat-filesystem]: https://crates.io/categories/filesystem
|
||||
[cat-net-badge]: https://badge-cache.kominick.com/badge/net--x.svg?style=social
|
||||
[cat-net]: https://crates.io/categories/network-programming
|
||||
[cat-os-badge]: https://badge-cache.kominick.com/badge/OS--x.svg?style=social
|
||||
[cat-os]: https://crates.io/categories/os
|
||||
[cat-rust-patterns-badge]: https://badge-cache.kominick.com/badge/rust_patterns--x.svg?style=social
|
||||
[cat-rust-patterns]: https://crates.io/categories/rust-patterns
|
||||
[cat-science-badge]: https://badge-cache.kominick.com/badge/science--x.svg?style=social
|
||||
[cat-science]: https://crates.io/categories/science
|
||||
[cat-text-processing-badge]: https://badge-cache.kominick.com/badge/text_processing--x.svg?style=social
|
||||
[cat-text-processing]: https://crates.io/categories/text-processing
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[base64-badge]: https://badge-cache.kominick.com/crates/v/base64.svg?label=base64
|
||||
[base64]: https://docs.rs/base64/
|
||||
[bitflags-badge]: https://badge-cache.kominick.com/crates/v/bitflags.svg?label=bitflags
|
||||
[bitflags]: https://docs.rs/bitflags/
|
||||
[byteorder-badge]: https://badge-cache.kominick.com/crates/v/byteorder.svg?label=byteorder
|
||||
[byteorder]: https://docs.rs/byteorder/
|
||||
[chrono-badge]: https://badge-cache.kominick.com/crates/v/chrono.svg?label=chrono
|
||||
[chrono]: https://docs.rs/chrono/
|
||||
[clap-badge]: https://badge-cache.kominick.com/crates/v/clap.svg?label=clap
|
||||
[clap]: https://docs.rs/clap/
|
||||
[crossbeam-badge]: https://badge-cache.kominick.com/crates/v/crossbeam.svg?label=crossbeam
|
||||
[crossbeam]: https://docs.rs/crossbeam/
|
||||
[csv-badge]: https://badge-cache.kominick.com/crates/v/csv.svg?label=csv
|
||||
[csv]: https://docs.rs/csv/
|
||||
[data-encoding-badge]: https://badge-cache.kominick.com/crates/v/data-encoding.svg?label=data-encoding
|
||||
[data-encoding]: https://docs.rs/data-encoding/
|
||||
[env_logger-badge]: https://badge-cache.kominick.com/crates/v/env_logger.svg?label=env_logger
|
||||
[env_logger]: https://docs.rs/env_logger/
|
||||
[flate2-badge]: https://badge-cache.kominick.com/crates/v/flate2.svg?label=flate2
|
||||
[flate2]: https://docs.rs/flate2/
|
||||
[glob-badge]:https://badge-cache.kominick.com/crates/v/glob.svg?label=glob
|
||||
[glob]: https://docs.rs/glob/
|
||||
[hyper-badge]: https://badge-cache.kominick.com/crates/v/hyper.svg?label=hyper
|
||||
[hyper]: https://docs.rs/hyper/
|
||||
[lazy_static-badge]: https://badge-cache.kominick.com/crates/v/lazy_static.svg?label=lazy_static
|
||||
[lazy_static]: https://docs.rs/lazy_static/
|
||||
[log-badge]: https://badge-cache.kominick.com/crates/v/log.svg?label=log
|
||||
[log]: https://docs.rs/log/
|
||||
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand
|
||||
[rand]: https://docs.rs/rand/
|
||||
[rayon-badge]: https://badge-cache.kominick.com/crates/v/rayon.svg?label=rayon
|
||||
[rayon]: https://docs.rs/rayon/
|
||||
[image-badge]: https://badge-cache.kominick.com/crates/v/image.svg?label=image
|
||||
[image]: https://docs.rs/image/
|
||||
[num-badge]: https://badge-cache.kominick.com/crates/v/num.svg?label=num
|
||||
[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/
|
||||
[threadpool-badge]: https://badge-cache.kominick.com/crates/v/threadpool.svg?label=threadpool
|
||||
[threadpool]: https://docs.rs/threadpool/
|
||||
[regex-badge]: https://badge-cache.kominick.com/crates/v/regex.svg?label=regex
|
||||
[regex]: https://docs.rs/regex/
|
||||
[reqwest-badge]: https://badge-cache.kominick.com/crates/v/reqwest.svg?label=reqwest
|
||||
[reqwest]: https://docs.rs/reqwest/
|
||||
[ring-badge]: https://badge-cache.kominick.com/crates/v/ring.svg?label=ring
|
||||
[ring]: https://docs.rs/ring/
|
||||
[same_file-badge]: https://badge-cache.kominick.com/crates/v/same_file.svg?label=same_file
|
||||
[same_file]: https://docs.rs/same-file/
|
||||
[select-badge]: https://badge-cache.kominick.com/crates/v/select.svg?label=select
|
||||
[select]: https://docs.rs/select/
|
||||
[serde-badge]: https://badge-cache.kominick.com/crates/v/serde.svg?label=serde
|
||||
[serde-json-badge]: https://badge-cache.kominick.com/crates/v/serde_json.svg?label=serde_json
|
||||
[serde-json]: https://docs.serde.rs/serde_json/
|
||||
[serde]: https://docs.rs/serde/
|
||||
[std-badge]: https://badge-cache.kominick.com/badge/std-1.19.0-blue.svg
|
||||
[std]: https://doc.rust-lang.org/std
|
||||
[syslog-badge]: https://badge-cache.kominick.com/crates/v/syslog.svg?label=syslog
|
||||
[syslog]: https://docs.rs/syslog/
|
||||
[tar-badge]: https://badge-cache.kominick.com/crates/v/tar.svg?label=tar
|
||||
[tar]: https://docs.rs/tar/
|
||||
[tempdir-badge]: https://badge-cache.kominick.com/crates/v/tempdir.svg?label=tempdir
|
||||
[tempdir]: https://docs.rs/tempdir/
|
||||
[toml-badge]: https://badge-cache.kominick.com/crates/v/toml.svg?label=toml
|
||||
[toml]: https://docs.rs/toml/
|
||||
[url-badge]: https://badge-cache.kominick.com/crates/v/url.svg?label=url
|
||||
[url]: https://docs.rs/url/
|
||||
[walkdir-badge]: https://badge-cache.kominick.com/crates/v/walkdir.svg?label=walkdir
|
||||
[walkdir]: https://docs.rs/walkdir/
|
||||
[memmap-badge]: https://badge-cache.kominick.com/crates/v/memmap.svg?label=memmap
|
||||
[memmap]: https://docs.rs/memmap/
|
||||
{{#include links.md}}
|
||||
|
||||
<!-- Examples -->
|
||||
|
||||
|
|
112
src/links.md
Normal file
112
src/links.md
Normal file
|
@ -0,0 +1,112 @@
|
|||
<!--
|
||||
Links, in a few categories. Follow the existing structure.
|
||||
Keep lines sorted.
|
||||
-->
|
||||
|
||||
<!-- Categories -->
|
||||
|
||||
[cat-caching-badge]: https://badge-cache.kominick.com/badge/caching--x.svg?style=social
|
||||
[cat-caching]: https://crates.io/categories/caching
|
||||
[cat-command-line-badge]: https://badge-cache.kominick.com/badge/command_line--x.svg?style=social
|
||||
[cat-command-line]: https://crates.io/categories/command-line-interface
|
||||
[cat-compression-badge]: https://badge-cache.kominick.com/badge/compression--x.svg?style=social
|
||||
[cat-compression]: https://crates.io/categories/compression
|
||||
[cat-concurrency-badge]: https://badge-cache.kominick.com/badge/concurrency--x.svg?style=social
|
||||
[cat-concurrency]: https://crates.io/categories/concurrency
|
||||
[cat-cryptography-badge]: https://badge-cache.kominick.com/badge/cryptography--x.svg?style=social
|
||||
[cat-cryptography]: https://crates.io/categories/cryptography
|
||||
[cat-debugging-badge]: https://badge-cache.kominick.com/badge/debugging--x.svg?style=social
|
||||
[cat-debugging]: https://crates.io/categories/debugging
|
||||
[cat-encoding-badge]: https://badge-cache.kominick.com/badge/encoding--x.svg?style=social
|
||||
[cat-encoding]: https://crates.io/categories/encoding
|
||||
[cat-filesystem-badge]: https://badge-cache.kominick.com/badge/filesystem--x.svg?style=social
|
||||
[cat-filesystem]: https://crates.io/categories/filesystem
|
||||
[cat-net-badge]: https://badge-cache.kominick.com/badge/net--x.svg?style=social
|
||||
[cat-net]: https://crates.io/categories/network-programming
|
||||
[cat-no-std-badge]: https://badge-cache.kominick.com/badge/no_std--x.svg?style=social
|
||||
[cat-no-std]: https://crates.io/categories/no-std
|
||||
[cat-os-badge]: https://badge-cache.kominick.com/badge/OS--x.svg?style=social
|
||||
[cat-os]: https://crates.io/categories/os
|
||||
[cat-rendering-badge]: https://badge-cache.kominick.com/badge/rendering--x.svg?style=social
|
||||
[cat-rendering]: https://crates.io/categories/rendering
|
||||
[cat-rust-patterns-badge]: https://badge-cache.kominick.com/badge/rust_patterns--x.svg?style=social
|
||||
[cat-rust-patterns]: https://crates.io/categories/rust-patterns
|
||||
[cat-science-badge]: https://badge-cache.kominick.com/badge/science--x.svg?style=social
|
||||
[cat-science]: https://crates.io/categories/science
|
||||
[cat-text-processing-badge]: https://badge-cache.kominick.com/badge/text_processing--x.svg?style=social
|
||||
[cat-text-processing]: https://crates.io/categories/text-processing
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[base64-badge]: https://badge-cache.kominick.com/crates/v/base64.svg?label=base64
|
||||
[base64]: https://docs.rs/base64/
|
||||
[bitflags-badge]: https://badge-cache.kominick.com/crates/v/bitflags.svg?label=bitflags
|
||||
[bitflags]: https://docs.rs/bitflags/
|
||||
[byteorder-badge]: https://badge-cache.kominick.com/crates/v/byteorder.svg?label=byteorder
|
||||
[byteorder]: https://docs.rs/byteorder/
|
||||
[chrono-badge]: https://badge-cache.kominick.com/crates/v/chrono.svg?label=chrono
|
||||
[chrono]: https://docs.rs/chrono/
|
||||
[clap-badge]: https://badge-cache.kominick.com/crates/v/clap.svg?label=clap
|
||||
[clap]: https://docs.rs/clap/
|
||||
[crossbeam-badge]: https://badge-cache.kominick.com/crates/v/crossbeam.svg?label=crossbeam
|
||||
[crossbeam]: https://docs.rs/crossbeam/
|
||||
[csv-badge]: https://badge-cache.kominick.com/crates/v/csv.svg?label=csv
|
||||
[csv]: https://docs.rs/csv/
|
||||
[data-encoding-badge]: https://badge-cache.kominick.com/crates/v/data-encoding.svg?label=data-encoding
|
||||
[data-encoding]: https://docs.rs/data-encoding/
|
||||
[env_logger-badge]: https://badge-cache.kominick.com/crates/v/env_logger.svg?label=env_logger
|
||||
[env_logger]: https://docs.rs/env_logger/
|
||||
[flate2-badge]: https://badge-cache.kominick.com/crates/v/flate2.svg?label=flate2
|
||||
[flate2]: https://docs.rs/flate2/
|
||||
[glob-badge]:https://badge-cache.kominick.com/crates/v/glob.svg?label=glob
|
||||
[glob]: https://docs.rs/glob/
|
||||
[hyper-badge]: https://badge-cache.kominick.com/crates/v/hyper.svg?label=hyper
|
||||
[hyper]: https://docs.rs/hyper/
|
||||
[image-badge]: https://badge-cache.kominick.com/crates/v/image.svg?label=image
|
||||
[image]: https://docs.rs/image/
|
||||
[lazy_static-badge]: https://badge-cache.kominick.com/crates/v/lazy_static.svg?label=lazy_static
|
||||
[lazy_static]: https://docs.rs/lazy_static/
|
||||
[log-badge]: https://badge-cache.kominick.com/crates/v/log.svg?label=log
|
||||
[log4rs-badge]: https://badge-cache.kominick.com/crates/v/log4rs.svg?label=log4rs
|
||||
[log4rs]: https://docs.rs/log4rs/
|
||||
[log]: https://docs.rs/log/
|
||||
[memmap-badge]: https://badge-cache.kominick.com/crates/v/memmap.svg?label=memmap
|
||||
[memmap]: https://docs.rs/memmap/
|
||||
[num-badge]: https://badge-cache.kominick.com/crates/v/num.svg?label=num
|
||||
[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/
|
||||
[rand-badge]: https://badge-cache.kominick.com/crates/v/rand.svg?label=rand
|
||||
[rand]: https://docs.rs/rand/
|
||||
[rayon-badge]: https://badge-cache.kominick.com/crates/v/rayon.svg?label=rayon
|
||||
[rayon]: https://docs.rs/rayon/
|
||||
[regex-badge]: https://badge-cache.kominick.com/crates/v/regex.svg?label=regex
|
||||
[regex]: https://docs.rs/regex/
|
||||
[reqwest-badge]: https://badge-cache.kominick.com/crates/v/reqwest.svg?label=reqwest
|
||||
[reqwest]: https://docs.rs/reqwest/
|
||||
[ring-badge]: https://badge-cache.kominick.com/crates/v/ring.svg?label=ring
|
||||
[ring]: https://docs.rs/ring/
|
||||
[same_file-badge]: https://badge-cache.kominick.com/crates/v/same_file.svg?label=same_file
|
||||
[same_file]: https://docs.rs/same-file/
|
||||
[select-badge]: https://badge-cache.kominick.com/crates/v/select.svg?label=select
|
||||
[select]: https://docs.rs/select/
|
||||
[serde-badge]: https://badge-cache.kominick.com/crates/v/serde.svg?label=serde
|
||||
[serde-json-badge]: https://badge-cache.kominick.com/crates/v/serde_json.svg?label=serde_json
|
||||
[serde-json]: https://docs.serde.rs/serde_json/
|
||||
[serde]: https://docs.rs/serde/
|
||||
[std-badge]: https://badge-cache.kominick.com/badge/std-1.19.0-blue.svg
|
||||
[std]: https://doc.rust-lang.org/std
|
||||
[syslog-badge]: https://badge-cache.kominick.com/crates/v/syslog.svg?label=syslog
|
||||
[syslog]: https://docs.rs/syslog/
|
||||
[tar-badge]: https://badge-cache.kominick.com/crates/v/tar.svg?label=tar
|
||||
[tar]: https://docs.rs/tar/
|
||||
[tempdir-badge]: https://badge-cache.kominick.com/crates/v/tempdir.svg?label=tempdir
|
||||
[tempdir]: https://docs.rs/tempdir/
|
||||
[threadpool-badge]: https://badge-cache.kominick.com/crates/v/threadpool.svg?label=threadpool
|
||||
[threadpool]: https://docs.rs/threadpool/
|
||||
[toml-badge]: https://badge-cache.kominick.com/crates/v/toml.svg?label=toml
|
||||
[toml]: https://docs.rs/toml/
|
||||
[url-badge]: https://badge-cache.kominick.com/crates/v/url.svg?label=url
|
||||
[url]: https://docs.rs/url/
|
||||
[walkdir-badge]: https://badge-cache.kominick.com/crates/v/walkdir.svg?label=walkdir
|
||||
[walkdir]: https://docs.rs/walkdir/
|
|
@ -479,40 +479,23 @@ fn run() -> Result<()> {
|
|||
# quick_main!(run);
|
||||
```
|
||||
|
||||
<!-- Categories -->
|
||||
{{#include links.md}}
|
||||
|
||||
[cat-debugging-badge]: https://badge-cache.kominick.com/badge/debugging--x.svg?style=social
|
||||
[cat-debugging]: https://crates.io/categories/debugging
|
||||
<!-- API Reference -->
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[chrono-badge]: https://badge-cache.kominick.com/crates/v/chrono.svg?label=chrono
|
||||
[chrono]: https://docs.rs/chrono/
|
||||
[env_logger-badge]: https://badge-cache.kominick.com/crates/v/env_logger.svg?label=env_logger
|
||||
[env_logger]: https://docs.rs/env_logger/
|
||||
[log-badge]: https://badge-cache.kominick.com/crates/v/log.svg?label=log
|
||||
[log4rs-badge]: https://badge-cache.kominick.com/crates/v/log4rs.svg?label=log4rs
|
||||
[log4rs]: https://docs.rs/log4rs/
|
||||
[log]: https://docs.rs/log/
|
||||
[syslog-badge]: https://badge-cache.kominick.com/crates/v/syslog.svg?label=syslog
|
||||
[syslog]: https://docs.rs/syslog/
|
||||
|
||||
<!-- Reference -->
|
||||
|
||||
[UNIX syslog]: https://www.gnu.org/software/libc/manual/html_node/Overview-of-Syslog.html
|
||||
[`DateTime::format`]: https://docs.rs/chrono/*/chrono/datetime/struct.DateTime.html#method.format
|
||||
[`DateTime`]: https://docs.rs/chrono/*/chrono/datetime/struct.DateTime.html
|
||||
[`Local::now`]: https://docs.rs/chrono/*/chrono/offset/local/struct.Local.html#method.now
|
||||
[`LogBuilder`]: https://doc.rust-lang.org/log/env_logger/struct.Builder.html
|
||||
[`LogBuilder::format`]: https://doc.rust-lang.org/log/env_logger/struct.LogBuilder.html#method.format
|
||||
[`LogBuilder::init`]: https://doc.rust-lang.org/log/env_logger/struct.LogBuilder.html#method.init
|
||||
[`LogBuilder::parse`]: https://doc.rust-lang.org/log/env_logger/struct.LogBuilder.html#method.parse
|
||||
[`LogBuilder::target`]: https://doc.rust-lang.org/log/env_logger/struct.Builder.html#method.target
|
||||
[`LogBuilder`]: https://doc.rust-lang.org/log/env_logger/struct.Builder.html
|
||||
[`LogRecord::args`]: https://doc.rust-lang.org/log/log/struct.LogRecord.html#method.args
|
||||
[`LogRecord::level`]: https://doc.rust-lang.org/log/log/struct.LogRecord.html#method.level
|
||||
[`RUST_LOG`]: https://doc.rust-lang.org/log/env_logger/#enabling-logging
|
||||
[`env_logger::init`]: https://doc.rust-lang.org/log/env_logger/fn.init.html
|
||||
[`Target::Stdout`]: https://doc.rust-lang.org/log/env_logger/enum.Target.html
|
||||
[`env_logger::init`]: https://doc.rust-lang.org/log/env_logger/fn.init.html
|
||||
[`log4rs::append::file::FileAppender`]: https://docs.rs/log4rs/*/log4rs/append/file/struct.FileAppender.html
|
||||
[`log4rs::config::Config`]: https://docs.rs/log4rs/*/log4rs/config/struct.Config.html
|
||||
[`log4rs::encode::pattern`]: https://docs.rs/log4rs/*/log4rs/encode/pattern/index.html
|
||||
|
@ -523,3 +506,7 @@ fn run() -> Result<()> {
|
|||
[`strftime::specifiers`]: https://docs.rs/chrono/*/chrono/format/strftime/index.html#specifiers
|
||||
[`syslog::Facility`]: https://docs.rs/syslog/*/syslog/enum.Facility.html
|
||||
[`syslog::init`]: https://docs.rs/syslog/*/syslog/fn.init.html
|
||||
|
||||
<!-- Other Reference -->
|
||||
|
||||
[UNIX syslog]: https://www.gnu.org/software/libc/manual/html_node/Overview-of-Syslog.html
|
||||
|
|
45
src/net.md
45
src/net.md
|
@ -947,44 +947,14 @@ fn run() -> Result<()> {
|
|||
# quick_main!(run);
|
||||
```
|
||||
|
||||
<!-- Categories -->
|
||||
{{#include links.md}}
|
||||
|
||||
[cat-encoding-badge]: https://badge-cache.kominick.com/badge/encoding--x.svg?style=social
|
||||
[cat-encoding]: https://crates.io/categories/encoding
|
||||
[cat-filesystem-badge]: https://badge-cache.kominick.com/badge/filesystem--x.svg?style=social
|
||||
[cat-filesystem]: https://crates.io/categories/filesystem
|
||||
[cat-net-badge]: https://badge-cache.kominick.com/badge/net--x.svg?style=social
|
||||
[cat-net]: https://crates.io/categories/network-programming
|
||||
<!-- API Reference -->
|
||||
|
||||
<!-- Crates -->
|
||||
|
||||
[hyper-badge]: https://badge-cache.kominick.com/crates/v/hyper.svg?label=hyper
|
||||
[hyper]: https://docs.rs/hyper/
|
||||
[regex]: https://docs.rs/regex/
|
||||
[regex-badge]: https://badge-cache.kominick.com/crates/v/regex.svg?label=regex
|
||||
[reqwest-badge]: https://badge-cache.kominick.com/crates/v/reqwest.svg?label=reqwest
|
||||
[reqwest]: https://docs.rs/reqwest/
|
||||
[select]: https://docs.rs/select/
|
||||
[select-badge]: https://badge-cache.kominick.com/crates/v/select.svg?label=select
|
||||
[serde-badge]: https://badge-cache.kominick.com/crates/v/serde.svg?label=serde
|
||||
[serde]: https://docs.rs/serde/
|
||||
[std]: https://doc.rust-lang.org/std
|
||||
[std-badge]: https://badge-cache.kominick.com/badge/std-1.19.0-blue.svg
|
||||
[tempdir-badge]: https://badge-cache.kominick.com/crates/v/tempdir.svg?label=tempdir
|
||||
[tempdir]: https://docs.rs/tempdir/
|
||||
[url-badge]: https://badge-cache.kominick.com/crates/v/url.svg?label=url
|
||||
[url]: https://docs.rs/url/
|
||||
|
||||
<!-- Reference -->
|
||||
|
||||
[GitHub API]: https://developer.github.com/v3/auth/
|
||||
[HTTP Basic Auth]: https://tools.ietf.org/html/rfc2617
|
||||
[OAuth]: https://oauth.net/getting-started/
|
||||
[MediaWiki link syntax]: https://www.mediawiki.org/wiki/Help:Links
|
||||
[`ClientBuilder::timeout`]: https://docs.rs/reqwest/*/reqwest/struct.ClientBuilder.html#method.timeout
|
||||
[`Client::delete`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html#method.delete
|
||||
[`Client::post`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html#method.post
|
||||
[`Client::head`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html#method.head
|
||||
[`Client::post`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html#method.post
|
||||
[`ClientBuilder::timeout`]: https://docs.rs/reqwest/*/reqwest/struct.ClientBuilder.html#method.timeout
|
||||
[`Cow`]: https://doc.rust-lang.org/std/borrow/enum.Cow.html
|
||||
[`Document::from_read`]: https://docs.rs/select/*/select/document/struct.Document.html#method.from_read
|
||||
[`File`]: https://doc.rust-lang.org/std/fs/struct.File.html
|
||||
|
@ -1028,3 +998,10 @@ fn run() -> Result<()> {
|
|||
[`serde_json::json!`]: https://docs.rs/serde_json/*/serde_json/macro.json.html
|
||||
[`std::iter::Iterator`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html
|
||||
[`url::Position`]: https://docs.rs/url/*/url/enum.Position.html
|
||||
|
||||
<!-- Other Reference -->
|
||||
|
||||
[GitHub API]: https://developer.github.com/v3/auth/
|
||||
[HTTP Basic Auth]: https://tools.ietf.org/html/rfc2617
|
||||
[MediaWiki link syntax]: https://www.mediawiki.org/wiki/Help:Links
|
||||
[OAuth]: https://oauth.net/getting-started/
|
||||
|
|
Loading…
Reference in a new issue