rusty-bever/Cargo.toml

48 lines
1.0 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"
[lib]
name = "rb"
path = "src/rb/lib.rs"
[[bin]]
name = "rbs"
path = "src/rbs/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-20 14:06:01 +02:00
# ORM
2021-08-20 23:09:22 +02:00
diesel = { version = "1.4.7", features = ["postgres", "uuidv07"] }
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"] }
jwt = "0.14.0"
hmac = "*"
sha2 = "*"
chrono = "0.4.19"
2021-08-21 16:45:41 +02:00
base64 = "0.13.0"
2021-08-18 21:53:53 +02:00
2021-08-20 16:52:58 +02:00
# Backend web framework
[dependencies.rocket]
version = "0.5.0-rc.1"
2021-08-20 23:09:22 +02:00
features = ["json"]
2021-08-20 16:52:58 +02:00
# Used to (de)serialize JSON
[dependencies.serde]
version = "1.0.127"
features = ["derive"]
2021-08-20 14:06:01 +02:00
# Used to provide Rocket routes with database connections
2021-08-18 21:53:53 +02:00
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.1"
default_features = false
features = ["diesel_postgres_pool"]