Simple Rust Pastebin example as explained in the Rocket Guide. https://rocket.rs/v0.4/guide/pastebin/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

19 lines
299 B

  1. # https://doc.rust-lang.org/cargo/reference/manifest.html
  2. [package]
  3. name = "pastebin"
  4. version = "0.1.0"
  5. authors = ["Bauke <me@bauke.xyz>"]
  6. edition = "2018"
  7. [[bin]]
  8. name = "pastebin"
  9. path = "source/main.rs"
  10. [dependencies]
  11. rand = "0.7.3"
  12. [dependencies.rocket]
  13. version = "0.4.5"
  14. features = ["tls"]