38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
|
[package]
|
||
|
name = "lan_party_backend"
|
||
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
|
||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
|
||
|
[dependencies]
|
||
|
rocket = { version = "0.5.0-rc.2", features = ["json"] }
|
||
|
dashmap = "5.3.4"
|
||
|
thiserror = "1.0"
|
||
|
schemars = "0.8.10"
|
||
|
okapi = { version = "0.7.0-rc.1" }
|
||
|
rocket_okapi = { version = "0.8.0-rc.2", features = ["swagger", "rocket_db_pools", "rapidoc"] }
|
||
|
futures = "0.3"
|
||
|
lazy_static = "1.4"
|
||
|
serde_json = "1"
|
||
|
paste = "1"
|
||
|
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors" }
|
||
|
lan_party_core = { path = "../core", features = ["serde", "rocket", "openapi"] }
|
||
|
|
||
|
[dependencies.sqlx]
|
||
|
version = "*"
|
||
|
default-features = false
|
||
|
features = ["macros", "offline", "migrate"]
|
||
|
|
||
|
[dependencies.rocket_db_pools]
|
||
|
version = "0.1.0-rc.2"
|
||
|
features = ["sqlx_sqlite", "mongodb"]
|
||
|
|
||
|
[dependencies.uuid]
|
||
|
version = "1.1.2"
|
||
|
features = [
|
||
|
"v4", # Lets you generate random UUIDs
|
||
|
"fast-rng", # Use a faster (but still sufficiently random) RNG
|
||
|
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
|
||
|
]
|