2024-08-07 16:26:26 +00:00
|
|
|
[package]
|
2024-08-07 16:31:34 +00:00
|
|
|
authors = ["Neshura"]
|
2024-08-07 16:54:10 +00:00
|
|
|
name = "api-backend"
|
2024-08-07 21:01:22 +00:00
|
|
|
version = "0.0.8"
|
2024-08-07 16:26:26 +00:00
|
|
|
edition = "2021"
|
2024-08-07 16:31:34 +00:00
|
|
|
description = "API Backend For Easier Uploading To Kavita"
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
|
|
|
|
|
|
|
|
[package.metadata.deb]
|
2024-08-07 16:54:10 +00:00
|
|
|
name = "kwm-api"
|
2024-08-07 16:31:34 +00:00
|
|
|
extended-description = "API Backend For Easier Uploading To Kavita"
|
|
|
|
maintainer-scripts = "debian/"
|
|
|
|
revision = "1"
|
|
|
|
depends = ["libc6", "libssl3", "systemd"]
|
|
|
|
assets = [
|
|
|
|
[
|
2024-08-07 16:54:10 +00:00
|
|
|
"target/release/api-backend",
|
|
|
|
"/usr/local/bin/kwm-api",
|
2024-08-07 16:31:34 +00:00
|
|
|
"755",
|
|
|
|
]
|
|
|
|
]
|
2024-08-07 20:01:53 +00:00
|
|
|
systemd-units = { unit-name = "kwm-api", enable = false }
|
2024-08-07 16:26:26 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
axum = "0.7"
|
|
|
|
chrono = "0.4"
|
|
|
|
dotenv = "0.15"
|
|
|
|
futures = "0.3"
|
|
|
|
log = "0.4"
|
|
|
|
parking_lot = "0.12"
|
2024-08-07 20:31:55 +00:00
|
|
|
reqwest = "0.12"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2024-08-07 16:26:26 +00:00
|
|
|
systemd-journal-logger = "2.1"
|
|
|
|
tokio = {version = "1.39", features = ["full"]}
|
|
|
|
tokio-util = { version = "0.7", features = ["io"] }
|
|
|
|
urlencoding = "2.1"
|