51d71ce133
- restructured API paths - added JWT authorization - added login function (without authentication)
25 lines
549 B
TOML
25 lines
549 B
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
rocket = { version = "0.5.0-rc.1", features = ["json"] }
|
|
serde = "1.0"
|
|
diesel = { version = "1.4", features = ["postgres", "serde_json"] }
|
|
reqwest = "0.11"
|
|
quickxml_to_serde = "0.4"
|
|
serde_json = "1.0"
|
|
jsonwebtoken = "7.2"
|
|
time = "0.2"
|
|
|
|
|
|
[dependencies.serde_derive]
|
|
version = "1.0"
|
|
|
|
[dependencies.rocket_sync_db_pools]
|
|
version = "0.1.0-rc.1"
|
|
features = ["diesel_postgres_pool"]
|