mirror of
https://github.com/SergioBenitez/Rocket.git
synced 2026-02-06 18:57:13 +00:00
Pastebin example uses now deprecated `rand::gen()` which was changed due to the reserved `gen` keyword in Rust 2024 edition. Rather than changing dependencies or updating the guide to specify an older edition, I've updated to use `gen_range` (should be best practice to avoid an infinitesimal bias anyway). This should work with any edition. Also fixed typos I noticed in the CONTRIBUTING doc. --------- Co-authored-by: Daniel Welsh <danielw2000@gmail.com> Co-authored-by: Matthew Pomes <matthew.pomes@pm.me>
11 lines
163 B
TOML
11 lines
163 B
TOML
[package]
|
|
name = "pastebin"
|
|
version = "0.0.0"
|
|
workspace = "../"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
rocket = { path = "../../core/lib" }
|
|
rand = "0.9"
|