# 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"
rust-version = "1.85"
name = "maiko"
version = "0.1.0"
authors = ["David de Rosier <ddrcode@gmail.com>"]
build = false
exclude = [
    ".gitignore",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight event-driven actor runtime with topic-based pub/sub for Tokio"
homepage = "https://github.com/ddrcode/maiko"
documentation = "https://docs.rs/maiko"
readme = "README.md"
keywords = [
    "actor",
    "pubsub",
    "tokio",
    "events",
    "streams",
]
categories = [
    "asynchronous",
    "concurrency",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/ddrcode/maiko"
resolver = "2"

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

[[example]]
name = "guesser"
path = "examples/guesser.rs"

[[example]]
name = "pingpong"
path = "examples/pingpong.rs"

[dependencies.maiko-macros]
version = "0.1.0"

[dependencies.thiserror]
version = "2.0.14"

[dependencies.tokio]
version = "1.47.1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
]

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

[dependencies.uuid]
version = "1.18.0"
features = ["v4"]

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