rust-cookbook
rust-cookbook copied to clipboard
https://rust-lang-nursery.github.io/rust-cookbook
fixes issue with `gen_range` call using `rand` crate 0.8.0, with API changes, `gen_range` argument should be a range.
Link - https://rust-lang-nursery.github.io/rust-cookbook/web/clients/apis.html#consume-a-paginated-restful-api When i run the example at retrieves the dependencies however, the crate_id is populated with the source crate name.. example. ``` reverse dependency: Dependencies { id: 1512403,...
## Section 16 Science - [ ] [Trigonometry](#445) - [ ] [Distance between points](#446) - [ ] [Statistics](#447) - [ ] [Complex Numbers](#448) - [ ] [Big Integer](#449) - [...
fixes #616 -------------------------- ### Things to check before submitting a PR - [x] the tests are passing locally with `cargo test` - [x] cookbook renders correctly in `mdbook serve -o`...
The current code example will not compile if you use the `clap v3.0.0-beta.2`, the version indicated above it. In this version of `clap`, the `Arg` struct no longer has the...
Part of tracking issue #440. This adds a more complex example of a single producer pushing data to multiple consumers using a bounded channel and each of the consumers pushing...
Sometimes I call them "examples", sometimes "recipes". I like "recipes" better, but if we end up dropping the cooking metaphor for https://github.com/brson/rust-cookbook/issues/164 that will need to change. For now let's...
| | | | ------------- | ------------- | | Crates | std, crossbeam_channel | | Section | 4.3 Sharing data between threads | - shared ownership with `Arc` - shared...
Packt has a book in the works called "Rust Cookbook": https://www.packtpub.com/application-development/rust-cookbook We might want to rebrand to avoid the collision. cc @dvigneshwer
### Things to check before submitting a PR - [X] the tests are passing locally with `cargo test` - [x] cookbook renders correctly in `mdbook serve -o` - [X] commits...