rust-cookbook
rust-cookbook copied to clipboard
https://rust-lang-nursery.github.io/rust-cookbook
Hi, Given that plots are essential for analytics, in my view, there should be examples on plot creation for rust. I'm the author and maintainer of the [Plotly.rs library](https://github.com/igiagkiozis/plotly) and...
(De)-Serialize a Matrix fails in `rust-cookbook`'s playground with the following output: ``` Compiling playground v0.0.1 (/playground) error[E0277]: the trait bound `nalgebra::Matrix: serde::ser::Serialize` is not satisfied --> src/main.rs:11:51 | 11 |...
Including a reference to the books `cargo.toml` file would be helpful with trying out the examples. [Link to cargo.toml](https://github.com/rust-lang-nursery/rust-cookbook/blob/master/Cargo.toml) For example: somewhere in [About/How to use the recipes](https://rust-lang-nursery.github.io/rust-cookbook/about.html) This dependency...
| | | | ------------- | ------------- | | Crates | reqwest | | Section | 17.4.3 Web Authentication | A new series for Web Authentication should be created. This...
We ignored and filtered the headers recipe, but now `reqwest` headers work. https://github.com/rust-lang-nursery/rust-cookbook/blob/master/src/web/clients/requests/header.md https://stackoverflow.com/a/47912021/5586783 https://docs.rs/reqwest/0.10.6/reqwest/header/index.html
In the example https://rust-lang-nursery.github.io/rust-cookbook/web/clients/apis.html#query-the-github-api, URL fragments are interpolated using `format!()`, which is insensitive to URL formats. This would result in issues when the user input contains invalid characters (such as...
https://lib.rs/crates/mdbook-linkcheck It seemed better integrated with `mdbook` and uses the existing flow, `mdbook build`.
Recently, [Failure](https://crates.io/crates/failure) was announced (discussions [here](https://www.reddit.com/r/rust/comments/7dg95u/announcing_failure/), [also here](https://www.reddit.com/r/rust/comments/7b88qp/failure_a_new_error_management_story/)). Is it too early to think about recipes (equivalent to [error-chain](https://crates.io/crates/error-chain)) for it?
Maybe there is an issue already for this, but i could not find it. Example: * click on "Date and Time" https://rust-lang-nursery.github.io/rust-cookbook/datetime.html * on the left there are the sections...
All the examples hide the `error_chain` functionality behind the hidden lines feature. I stumbled upon this myself when I first tried the cookbook, and [someone on reddit](https://www.reddit.com/r/rust/comments/75am4v/rust_cookbook_outdated/) also did. It...