# 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 = "causal_inspector"
version = "0.7.4"
authors = ["Crispin Read <crispin@crispinread.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Inspector backend for causal event-driven applications"
readme = false
license = "MIT"
repository = "https://github.com/crcn/causal-rs"

[features]
axum = [
    "dep:axum",
    "dep:async-graphql-axum",
    "graphql",
]
cache = []
default = []
graphql = ["async-graphql"]
memory = ["causal"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-graphql]
version = "7"
features = ["chrono"]
optional = true

[dependencies.async-graphql-axum]
version = "7"
optional = true

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

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["ws"]
optional = true

[dependencies.causal]
version = "0.7.4"
optional = true
default-features = false

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

[dependencies.futures]
version = "0.3"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tracing]
version = "0.1"

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