# 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 = "2024"
name = "saps"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for the SAP framework"
readme = false
license = "MIT"
resolver = "2"

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

[dependencies.axum]
version = "0.8.8"
features = ["ws"]

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.43"
features = [
    "serde",
    "clock",
]
default-features = false

[dependencies.include_dir]
version = "0.7.4"

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]
default-features = false

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.paste]
version = "1.0"

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.rust-embed]
version = "8.11.0"

[dependencies.saps-background-task]
version = "0.1.0"

[dependencies.saps-db-pool-macro]
version = "0.1.1"

[dependencies.saps-db-tx]
version = "0.1.1"

[dependencies.saps-frontend-macro]
version = "0.1.0"

[dependencies.saps-test-macro]
version = "0.1.2"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "postgres",
    "json",
    "runtime-tokio",
    "runtime-tokio-rustls",
    "migrate",
    "chrono",
    "uuid",
    "macros",
]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "rt-multi-thread",
    "process",
    "macros",
    "time",
    "signal",
    "tracing",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.21.0"
features = [
    "serde",
    "v4",
    "fast-rng",
    "js",
]

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

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "rt-multi-thread",
    "process",
    "macros",
    "time",
    "signal",
    "tracing",
]

[dev-dependencies.tower]
version = "0.5.3"
