2023-09-14 03:35:28 +00:00
|
|
|
[package]
|
2023-10-24 19:08:14 +00:00
|
|
|
authors = ["Technoduck"]
|
2023-09-14 03:35:28 +00:00
|
|
|
name = "api-id-assigner"
|
|
|
|
description = "Axum powered API to manage ids for hostnames of a sulrm cluster"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-10-24 19:08:14 +00:00
|
|
|
[package.metadata.deb]
|
|
|
|
assets = [
|
|
|
|
["target/release/api-id-assigner", "/usr/bin/", "755"],
|
|
|
|
["config.toml","/var/assigner/", "644"],
|
|
|
|
["db.sqlite","/var/assigner/", "644"],
|
|
|
|
]
|
|
|
|
|
2023-09-14 03:35:28 +00:00
|
|
|
[dependencies]
|
|
|
|
api-id-assigner-lib = { path = "../lib" }
|
|
|
|
axum = "0.6.18"
|
|
|
|
axum-extra = { version = "0.7.7" }
|
|
|
|
serde = { version = "1.0.188", features = ["serde_derive"] }
|
|
|
|
sqlx = { version = "0.7.1", features = ["sqlite"] }
|
|
|
|
tokio = {version = "1.28.2", features = ["full"]}
|
|
|
|
toml = "0.8.0"
|
|
|
|
tower = "0.4.13"
|
|
|
|
tower-http = { version = "0.4.3", features = ["fs","cors"] }
|
|
|
|
tracing = "0.1.37"
|
2023-10-24 19:08:14 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
cargo-deb = "2.0.0"
|