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
|
2021-12-24 16:01:21 +01:00
|
|
|
serde = { version = "1.0.132", features = [ "derive" ] }
|
2021-11-09 11:09:41 +01:00
|
|
|
rand = "0.8.4"
|
|
|
|
uuid = { version = "0.8.2", features = ["serde"] }
|
|
|
|
# Authentification
|
2021-12-24 16:01:23 +01:00
|
|
|
jwt = "0.15.0"
|
2021-12-26 20:35:22 +01:00
|
|
|
hmac = "0.11.0"
|
2021-12-26 21:00:35 +01:00
|
|
|
sha2 = { version = "0.10.0", default_features = false }
|
2021-11-09 11:09:41 +01:00
|
|
|
# Timestamps for JWT tokens
|
2021-12-26 20:35:22 +01:00
|
|
|
chrono = { version = "0.4.19", features = [ "serde" ] }
|
2021-11-09 11:09:41 +01:00
|
|
|
# Encoding of refresh tokens
|
|
|
|
base64 = "0.13.0"
|
|
|
|
# Reading in configuration files
|
2021-12-26 20:35:22 +01:00
|
|
|
figment = { version = "0.10.6", features = [ "yaml" ] }
|