Skip to content

Instantly share code, notes, and snippets.

@sean3z
Created March 17, 2018 15:56
Show Gist options
  • Save sean3z/e4bd6c91b03d8e35b6cf70d01e118b7f to your computer and use it in GitHub Desktop.
Save sean3z/e4bd6c91b03d8e35b6cf70d01e118b7f to your computer and use it in GitHub Desktop.
Adding serde and rocket_contrib
[package]
name = "hero-api"
version = "0.1.0"
authors = ["sean"]
[dependencies]
rocket = "0.3.6"
rocket_codegen = "0.3.6"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
[dependencies.rocket_contrib]
version = "*"
default-features = false
features = ["json"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment