[package] name = "http_server" edition = "2021" [dependencies] kernel = { path = "../kernel" } utils = { path = "../utils" } # common log = { workspace = true } env_logger = { workspace = true } strum = { workspace = true } strum_macros = { workspace = true } anyhow = { workspace = true } thiserror = { workspace = true } fully_pub = { workspace = true } tokio = { workspace = true } # Web axum = { version = "0.7.7", features = ["json", "multipart"] } axum-extra = { version = "0.9.4", features = ["cookie"] } axum-template = { version = "2.4.0", features = ["minijinja"] } axum_typed_multipart = "0.13.1" minijinja = { version = "2.1", features = ["builtins"] } # to make work the static assets server tower-http = { version = "0.6.1", features = ["fs"] } minijinja-embed = "2.3.1" axum-macros = "0.4.2" jsonwebtoken = "9.3.0" time = "0.3.36" serde = { workspace = true } serde_json = { workspace = true } serde_urlencoded = "0.7.1" chrono = { workspace = true } argh = { workspace = true } sqlx = { workspace = true } uuid = { workspace = true } url = { workspace = true } pem = "3.0.4" # For now, we test if it's viable, and later we will fork it to fix the build (cf. issue # https://github.com/informationsea/jsonwebkey-rs#1 ) [dependencies.jsonwebkey-convert] path = "/home/mbess/workspace/foss/rust_libs/jsonwebkey-rs/jsonwebkey-convert" features = ["simple_asn1", "pem"] pem = "3.0.4" [build-dependencies] minijinja-embed = "2.3.1" [[bin]] name = "minauthator-server" path = "src/main.rs"