From 059b6e348b30290c9793a7d6afadb632801bebd1 Mon Sep 17 00:00:00 2001 From: Neshura Date: Wed, 7 Aug 2024 18:54:10 +0200 Subject: [PATCH] Fix Branding --- .idea/kavita-web-manager-api.iml | 11 +++++++++ .idea/material_theme_project_new.xml | 4 +++- .idea/modules.xml | 8 +++++++ .idea/vcs.xml | 6 +++++ Cargo.lock | 32 +++++++++++++-------------- Cargo.toml | 7 +++--- README.md | 2 +- debian/kavita-web-manager-api.service | 2 +- 8 files changed, 50 insertions(+), 22 deletions(-) create mode 100644 .idea/kavita-web-manager-api.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/kavita-web-manager-api.iml b/.idea/kavita-web-manager-api.iml new file mode 100644 index 0000000..cf84ae4 --- /dev/null +++ b/.idea/kavita-web-manager-api.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml index 94c4557..9deb3c9 100644 --- a/.idea/material_theme_project_new.xml +++ b/.idea/material_theme_project_new.xml @@ -3,7 +3,9 @@ diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d86af5a --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 4cdee52..162be8a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -32,6 +32,22 @@ dependencies = [ "libc", ] +[[package]] +name = "api-backend" +version = "0.0.1-rc.1" +dependencies = [ + "axum", + "chrono", + "dotenv", + "futures", + "log", + "parking_lot", + "systemd-journal-logger", + "tokio", + "tokio-util", + "urlencoding", +] + [[package]] name = "async-trait" version = "0.1.81" @@ -419,22 +435,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "kavita-web-manager-api" -version = "0.0.1-rc.1" -dependencies = [ - "axum", - "chrono", - "dotenv", - "futures", - "log", - "parking_lot", - "systemd-journal-logger", - "tokio", - "tokio-util", - "urlencoding", -] - [[package]] name = "libc" version = "0.2.155" diff --git a/Cargo.toml b/Cargo.toml index 8c1438f..8f8270c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Neshura"] -name = "kavita-web-manager-api" +name = "api-backend" version = "0.0.1-rc.1" edition = "2021" description = "API Backend For Easier Uploading To Kavita" @@ -8,14 +8,15 @@ license = "GPL-3.0-or-later" [package.metadata.deb] +name = "kwm-api" extended-description = "API Backend For Easier Uploading To Kavita" maintainer-scripts = "debian/" revision = "1" depends = ["libc6", "libssl3", "systemd"] assets = [ [ - "target/release/kavita-web-manager-api", - "/usr/local/bin/kavita-web-manager-api", + "target/release/api-backend", + "/usr/local/bin/kwm-api", "755", ] ] diff --git a/README.md b/README.md index 04fa8a8..689f581 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# web-manager-api +# api-backend diff --git a/debian/kavita-web-manager-api.service b/debian/kavita-web-manager-api.service index d1114bb..bab0986 100644 --- a/debian/kavita-web-manager-api.service +++ b/debian/kavita-web-manager-api.service @@ -5,7 +5,7 @@ After=network-online.target [Service] Type=simple -ExecStart=/usr/local/bin/kavita-web-manager-api +ExecStart=/usr/local/bin/kwm-api Restart=always RestartSec=3