Initial commit

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2023-11-04 17:12:48 +00:00
commit d1cde4aa4f
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
10 changed files with 3060 additions and 0 deletions

20
Cargo.toml Normal file
View file

@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2023 Louis Hollingworth <louis@hollingworth.nl>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[package]
name = "yr-api"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = "0.6.20"
dotenvy = "0.15.7"
reqwest = "0.11.22"
serde = { version = "1.0.190", features = ["derive"] }
serde_json = "1.0.108"
sqlx = { version = "0.7.2", features = ["runtime-tokio", "postgres", "macros", "migrate", "uuid", "chrono", "json"] }
tokio = { version = "1.33.0", features = ["full"] }
uuid = { version = "1.5.0", features = ["v4", "serde"] }