k2rbac-api-server 0.1.0

Axum server scaffold for the standalone k2rbac/auth Rust service
# SPDX-FileCopyrightText: 2026 Alexander R. Croft
# SPDX-License-Identifier: GPL-3.0-or-later

[package]
name = "k2rbac-api-server"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Axum server scaffold for the standalone k2rbac/auth Rust service"
build = "build.rs"
readme = "README.md"
repository = "https://github.com/frogfishio/k2db.git"
homepage = "https://github.com/frogfishio/k2db"
documentation = "https://docs.rs/k2rbac-api-server"

[lib]
name = "rbac_api_server"
path = "src/lib.rs"

[[bin]]
name = "k2rbac-api-server"
path = "src/main.rs"

[dependencies]
argon2.workspace = true
async-trait.workspace = true
axum.workspace = true
base64.workspace = true
clap.workspace = true
k2db-api-client = { version = "0.1.1", path = "../../../../k2db-api/rust/crates/k2db-api-client" }
k2db-api-contract = { version = "0.1.1", path = "../../../../k2db-api/rust/crates/k2db-api-contract" }
hmac.workspace = true
rand.workspace = true
ratatouille = { version = "0.1.0", path = "../../../../ext/ratatouille/rust" }
rbac-api-contract = { package = "k2rbac-api-contract", version = "0.1.0", path = "../rbac-api-contract" }
rbac-core = { package = "k2rbac-core", version = "0.1.0", path = "../rbac-core" }
scrypt.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
subtle.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["signal"] }
urlencoding.workspace = true

[dev-dependencies]
reqwest.workspace = true
tempfile = "3"
tower = { version = "0.5", features = ["util"] }

[build-dependencies]