This commit is contained in:
2022-10-22 16:46:45 +05:30
parent 44f9a8b15f
commit 2143923ee8
20 changed files with 409 additions and 229 deletions

31
backend/api/Cargo.toml Normal file
View File

@@ -0,0 +1,31 @@
[package]
name = "booksman-api"
version = "0.1.0"
edition = "2021"
[dependencies]
booksman-orm = { path = "../orm" }
axum = "^0.5"
axum-extra = { version = "^0.3", features = ["spa"] }
clap = { version = "^3", features = ["derive"] }
error-chain = "0.12.4"
log = "^0.4"
reqwest = {version = "0.11.11", features = ["json"]}
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
tokio = { version = "^1", features = ["full"] }
tower = "^0.4"
tower-http = { version = "^0.3", features = ["full"] }
tracing = "^0.1"
tracing-subscriber = "^0.3"
[dependencies.sea-orm]
version = "^0.9.2" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",
"sqlx-sqlite",
]