2021-11-09 11:09:41 +01:00
|
|
|
[package]
|
2021-11-23 17:31:35 +01:00
|
|
|
name = "rb"
|
2021-11-09 11:09:41 +01:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Backend web framework
|
|
|
|
rocket = { version = "0.5.0-rc.1", features = [ "json", "uuid" ] }
|
|
|
|
# Used to (de)serialize JSON
|
|
|
|
serde = { version = "1.0.127", features = [ "derive" ] }
|
|
|
|
rand = "0.8.4"
|
|
|
|
uuid = { version = "0.8.2", features = ["serde"] }
|
|
|
|
# Authentification
|
|
|
|
jwt = "0.14.0"
|
|
|
|
hmac = "*"
|
|
|
|
sha2 = "*"
|
|
|
|
# Timestamps for JWT tokens
|
|
|
|
chrono = { version = "*", features = [ "serde" ] }
|
|
|
|
# Encoding of refresh tokens
|
|
|
|
base64 = "0.13.0"
|
|
|
|
# Reading in configuration files
|
|
|
|
figment = { version = "*", features = [ "yaml" ] }
|