# 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 = "kikiutils"
version = "0.5.9"
authors = ["kiki-kanri"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A utility library to simplify Rust development."
homepage = "https://github.com/kikiutils/rust"
readme = "README.md"
keywords = ["utils"]
categories = []
license = "MIT"
repository = "https://github.com/kikiutils/rust"

[features]
all = [
    "anyhow-ext",
    "signal",
    "task",
    "tracing",
]
anyhow-ext = ["dep:anyhow"]
default = []
full = ["all"]
signal = [
    "dep:anyhow",
    "dep:tokio",
]
task = [
    "dep:anyhow",
    "dep:dashmap",
    "dep:futures",
    "dep:tokio",
    "dep:tokio-util",
]
tracing = [
    "dep:anyhow",
    "dep:time",
    "dep:tracing-subscriber",
]

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

[dependencies.anyhow]
version = "1.0.100"
optional = true

[dependencies.dashmap]
version = "6.1.0"
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.time]
version = "0.3.44"
features = [
    "formatting",
    "local-offset",
    "macros",
]
optional = true

[dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt",
    "signal",
    "sync",
]
optional = true

[dependencies.tokio-util]
version = "0.7.17"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["time"]
optional = true

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]
