Compare commits

..

No commits in common. "42a0c456d05099c310ab0241c433dc009b960988" and "ba07d4009058e9a01491d509044d08f81291183b" have entirely different histories.

8 changed files with 23 additions and 51 deletions

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="EMPTY_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -3,9 +3,7 @@
<component name="MaterialThemeProjectNewConfig">
<option name="metadata">
<MTProjectMetadataState>
<option name="migrated" value="true" />
<option name="pristineConfig" value="false" />
<option name="userId" value="-349a7812:1900e527711:-7ffe" />
<option name="userId" value="35e9767a:19031e016a2:-7f1b" />
</MTProjectMetadataState>
</option>
</component>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/kavita-web-manager-api.iml" filepath="$PROJECT_DIR$/.idea/kavita-web-manager-api.iml" />
</modules>
</component>
</project>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

32
Cargo.lock generated
View file

@ -32,22 +32,6 @@ dependencies = [
"libc",
]
[[package]]
name = "api-backend"
version = "0.0.1-rc.2"
dependencies = [
"axum",
"chrono",
"dotenv",
"futures",
"log",
"parking_lot",
"systemd-journal-logger",
"tokio",
"tokio-util",
"urlencoding",
]
[[package]]
name = "async-trait"
version = "0.1.81"
@ -435,6 +419,22 @@ 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"

View file

@ -1,22 +1,21 @@
[package]
authors = ["Neshura"]
name = "api-backend"
version = "0.0.1-rc.2"
name = "kavita-web-manager-api"
version = "0.0.1-rc.1"
edition = "2021"
description = "API Backend For Easier Uploading To Kavita"
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/api-backend",
"/usr/local/bin/kwm-api",
"target/release/kavita-web-manager-api",
"/usr/local/bin/kavita-web-manager-api",
"755",
]
]

View file

@ -1,2 +1,2 @@
# api-backend
# web-manager-api

View file

@ -5,7 +5,7 @@ After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/kwm-api
ExecStart=/usr/local/bin/kavita-web-manager-api
Restart=always
RestartSec=3