# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "kigumi-server"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless HTTP server (axum): serves the OpenAPI spec, model list, and UI contracts from a model set"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/vpescete/kigumi"

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

[[test]]
name = "attachments_api"
path = "tests/attachments_api.rs"

[[test]]
name = "auth_api"
path = "tests/auth_api.rs"

[[test]]
name = "company_scope_api"
path = "tests/company_scope_api.rs"

[[test]]
name = "data_api"
path = "tests/data_api.rs"

[[test]]
name = "error_envelope"
path = "tests/error_envelope.rs"

[[test]]
name = "events_stream_api"
path = "tests/events_stream_api.rs"

[[test]]
name = "module_route_api"
path = "tests/module_route_api.rs"

[[test]]
name = "report_api"
path = "tests/report_api.rs"

[[test]]
name = "service_api"
path = "tests/service_api.rs"

[[test]]
name = "wizard_api"
path = "tests/wizard_api.rs"

[dependencies.async-stream]
version = "0.3"

[dependencies.axum]
version = "0.7"

[dependencies.genpdf]
version = "0.2"

[dependencies.kigumi-auth]
version = "0.1.0"

[dependencies.kigumi-core]
version = "0.1.0"

[dependencies.kigumi-db]
version = "0.1.0"

[dependencies.kigumi-schema]
version = "0.1.0"

[dependencies.kigumi-storage]
version = "0.1.0"

[dependencies.rust_decimal]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
]

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.kigumi]
version = "0.1.0"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "rust_decimal",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "io-util",
    "time",
]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
