This repository has been archived on 2021-10-25. You can view files and clone it, but cannot push or open issues/pull-requests.
rusty-bever/Cargo.toml

45 lines
1.3 KiB
TOML
Raw Normal View History

2021-08-18 21:53:53 +02:00
[package]
name = "rusty-bever"
version = "0.1.0"
authors = ["Jef Roosens <roosensjef@gmail.com>"]
edition = "2018"
[[bin]]
2021-08-22 16:24:59 +02:00
name = "rbd"
path = "src/main.rs"
2021-08-18 21:53:53 +02:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-08-22 18:57:47 +02:00
# 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" ] }
2021-08-20 14:06:01 +02:00
# ORM
diesel = { version = "1.4.7", features = ["postgres", "uuidv07", "chrono"] }
2021-08-18 21:53:53 +02:00
diesel_migrations = "1.4.0"
2021-08-20 14:06:01 +02:00
# To properly compile libpq statically
2021-08-19 22:46:50 +02:00
openssl = "0.10.36"
2021-08-20 14:06:01 +02:00
# For password hashing & verification
rust-argon2 = "0.8.3"
rand = "0.8.4"
2021-08-21 13:46:41 +02:00
uuid = { version = "0.8.2", features = ["serde"] }
2021-08-22 18:57:47 +02:00
# Authentification
2021-08-21 13:46:41 +02:00
jwt = "0.14.0"
hmac = "*"
sha2 = "*"
2021-08-22 18:57:47 +02:00
# Timestamps for JWT tokens
chrono = { version = "*", features = [ "serde" ] }
2021-08-22 18:57:47 +02:00
# Encoding of refresh tokens
2021-08-21 16:45:41 +02:00
base64 = "0.13.0"
2021-08-30 14:27:54 +02:00
# Reading in configuration files
figment = { version = "*", features = [ "yaml" ] }
2021-09-03 16:31:06 +02:00
mimalloc = { version = "0.1.26", default_features = false }
2021-08-18 21:53:53 +02:00
2021-08-22 18:57:47 +02:00
[profile.release]
2021-09-03 16:31:06 +02:00
lto = "fat"
2021-08-22 18:57:47 +02:00
panic = "abort"
2021-08-22 22:01:27 +02:00
codegen-units = 1