# 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.88"
name = "acktor"
version = "1.1.1"
authors = ["Chao Gu"]
build = false
exclude = [
    "examples/*",
    "tests/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust actor framework built on top of the Tokio async runtime"
readme = "README.md"
keywords = [
    "actor",
    "async",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/asymmetry/acktor"

[package.metadata.docs.rs]
all-features = true
rustc-args = [
    "--cfg",
    "tokio_unstable",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bottleneck-warning = []
cron = []
default = [
    "derive",
    "observer",
    "cron",
]
derive = ["dep:acktor-derive"]
identifier = ["dep:sha2-const"]
ipc = [
    "identifier",
    "dep:acktor-ipc-proto",
    "dep:bytes",
    "dep:prost",
    "dep:zerocopy",
    "acktor-derive?/ipc",
]
observer = ["dep:ahash"]
prost-codec = []
tokio-tracing = ["tokio/tracing"]

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

[dependencies.acktor-derive]
version = "1.1"
optional = true
default-features = false

[dependencies.acktor-ipc-proto]
version = "1.1"
optional = true
default-features = false

[dependencies.ahash]
version = "0.8"
optional = true

[dependencies.bytes]
version = "1.10"
optional = true

[dependencies.disqualified]
version = "=1.0.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.prost]
version = "0.14"
optional = true

[dependencies.sha2-const]
version = "0.1"
optional = true

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]
optional = true

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.clap]
version = "4.5"
features = ["derive"]

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.rkyv]
version = "0.8"

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

[dev-dependencies.serde_json]
version = "1.0"
