# 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"
rust-version = "1.92"
name = "koi-common"
version = "0.5.1"
authors = ["Sylin.org <hello@sylin.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared types, traits, and utilities for the Koi local network toolkit"
homepage = "https://sylin.org/koi"
readme = "README.md"
keywords = [
    "koi",
    "networking",
    "types",
    "pipeline",
    "service-discovery",
]
categories = ["network-programming"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sylin-org/koi"

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

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

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

[dependencies.axum]
version = "0.8"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
features = [
    "axum_extras",
    "chrono",
]

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