update rocket and add diesel
This commit is contained in:
parent
e7ce218de5
commit
c54cdc98ba
11 changed files with 1414 additions and 308 deletions
|
@ -1,10 +1,13 @@
|
|||
[package]
|
||||
name = "hello-rocket"
|
||||
name = "project_test"
|
||||
version = "0.1.0"
|
||||
authors = ["Florian RICHER <florian.richer@unova.fr>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
rocket = "0.4.7"
|
||||
rocket = { version = "0.5.0-rc.1", features = ["secrets", "tls", "json"] }
|
||||
rocket_codegen = "0.5.0-rc.1"
|
||||
rocket_sync_db_pools = { version = "0.1.0-rc.1", features = ["diesel_sqlite_pool"] }
|
||||
diesel = { version = "1.3", features = ["sqlite", "r2d2"] }
|
||||
diesel_migrations = "1.3"
|
Loading…
Add table
Add a link
Reference in a new issue