# Copyright (C) 2026 Ordinary Labs, LLC.
#
# SPDX-License-Identifier: AGPL-3.0-only

[package]
name = "ordinary-app"

version.workspace = true
rust-version.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true

description = "Application server for Ordinary"
license = "AGPL-3.0-only"
readme = "README.md"
categories = []

[features]
default = ["server", "client"]
client = ["ordinary-auth/client"]
server = ["ordinary-auth/core"]

[dependencies]
ordinary-storage.workspace = true
ordinary-action.workspace = true
ordinary-template.workspace = true
ordinary-integration.workspace = true
ordinary-auth = { workspace = true }
ordinary-utils.workspace = true

hickory-client.workspace = true

futures-util.workspace = true
serde.workspace = true
flexbuffers.workspace = true
serde_json.workspace = true
bytes.workspace = true
base64.workspace = true
tracing.workspace = true
axum.workspace = true
tower.workspace = true
tower-http.workspace = true
tokio.workspace = true
ordinary-types.workspace = true
ordinary-config.workspace = true
x25519-dalek.workspace = true
hashbrown.workspace = true
time.workspace = true
arrayvec.workspace = true

tokio-rustls.workspace = true
tower-service.workspace = true

hyper.workspace = true
hyper-util.workspace = true
uuid.workspace = true

aes-gcm.workspace = true
sha2.workspace = true

axum-extra.workspace = true
mime.workspace = true
cookie.workspace = true

rustls-acme.workspace = true
flate2.workspace = true
brotli.workspace = true
zstd.workspace = true
rayon.workspace = true

[dev-dependencies]
reqwest = { workspace = true }

[lints.clippy]
unwrap_used = "deny"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
