Cleaned up Cargo.toml

develop
Jef Roosens 2021-08-22 18:57:47 +02:00
parent 16ddc9aecd
commit 7afdd02712
Signed by untrusted user: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 12 additions and 15 deletions

View File

@ -15,6 +15,12 @@ path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
# Backend web framework
rocket = { version = "0.5.0-rc.1", features = [ "json" ] }
# Used to provide Rocket routes with database connections
rocket_sync_db_pools = { version = "0.1.0-rc.1", default_features = false, features = [ "diesel_postgres_pool" ] }
# Used to (de)serialize JSON
serde = { version = "1.0.127", features = [ "derive" ] }
# ORM # ORM
diesel = { version = "1.4.7", features = ["postgres", "uuidv07", "chrono"] } diesel = { version = "1.4.7", features = ["postgres", "uuidv07", "chrono"] }
diesel_migrations = "1.4.0" diesel_migrations = "1.4.0"
@ -24,24 +30,15 @@ openssl = "0.10.36"
rust-argon2 = "0.8.3" rust-argon2 = "0.8.3"
rand = "0.8.4" rand = "0.8.4"
uuid = { version = "0.8.2", features = ["serde"] } uuid = { version = "0.8.2", features = ["serde"] }
# Authentification
jwt = "0.14.0" jwt = "0.14.0"
hmac = "*" hmac = "*"
sha2 = "*" sha2 = "*"
# Timestamps for JWT tokens
chrono = { version = "*", features = [ "serde" ] } chrono = { version = "*", features = [ "serde" ] }
# Encoding of refresh tokens
base64 = "0.13.0" base64 = "0.13.0"
# Backend web framework [profile.release]
[dependencies.rocket] lto = true
version = "0.5.0-rc.1" panic = "abort"
features = ["json"]
# Used to (de)serialize JSON
[dependencies.serde]
version = "1.0.127"
features = ["derive"]
# Used to provide Rocket routes with database connections
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.1"
default_features = false
features = ["diesel_postgres_pool"]