# 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 = "doxa-audit"
version = "0.1.6"
authors = ["edmiester777"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SOC 2-flavored append-only audit logging primitives with an optional SeaORM persistence backend. Events buffer through an async mpsc channel and persist via a background writer."
homepage = "https://github.com/edmiester777/doxa"
readme = "README.md"
keywords = [
    "audit",
    "logging",
    "soc2",
    "sea-orm",
    "axum",
]
categories = [
    "web-programming",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/edmiester777/doxa"

[features]
default = ["sea-orm"]
sea-orm = [
    "dep:sea-orm",
    "dep:sea-orm-migration",
]

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

[dependencies.axum]
version = "0.8"
features = ["json"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.doxa-docs]
version = "0.1.6"
default-features = false

[dependencies.http]
version = "1"

[dependencies.sea-orm]
version = "1"
features = [
    "sqlx-postgres",
    "sqlx-sqlite",
    "runtime-tokio-rustls",
    "macros",
    "with-json",
    "with-chrono",
]
optional = true

[dependencies.sea-orm-migration]
version = "1"
features = [
    "sqlx-postgres",
    "sqlx-sqlite",
    "runtime-tokio-rustls",
]
optional = true

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]
