# 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.64"
name = "ractor"
version = "0.15.13"
authors = [
    "Sean Lawlor",
    "Evan Au",
    "Dillon George",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A actor framework for Rust"
homepage = "https://github.com/slawlor/ractor"
documentation = "https://docs.rs/ractor"
readme = "README.md"
keywords = [
    "actor",
    "ractor",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/slawlor/ractor"

[features]
async-trait = ["dep:async-trait"]
blanket_serde = [
    "serde",
    "pot",
    "cluster",
]
cluster = []
default = [
    "tokio_runtime",
    "message_span_propogation",
]
message_span_propogation = []
monitors = []
output-port-v2 = []
tokio_runtime = [
    "tokio/time",
    "tokio/rt",
    "tokio/macros",
    "tokio/tracing",
]

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

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

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

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

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

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

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

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

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

[[bench]]
name = "actor"
path = "benches/actor.rs"
harness = false
required-features = []

[[bench]]
name = "async_traits"
path = "benches/async_traits.rs"
harness = false
required-features = []

[[bench]]
name = "factory"
path = "benches/factory.rs"
harness = false
required-features = []

[[bench]]
name = "simple_advanced_benchmarks"
path = "benches/simple_advanced_benchmarks.rs"
harness = false
required-features = []

[dependencies.async-std]
version = "1"
features = [
    "attributes",
    "unstable",
]
optional = true

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

[dependencies.bon]
version = "2.2"

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.once_cell]
version = "1"

[dependencies.pot]
version = "3.0"
optional = true

[dependencies.serde]
version = "1"
optional = true

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"
features = ["attributes"]

[dev-dependencies.backtrace]
version = "0.3"

[dev-dependencies.function_name]
version = "0.3"

[dev-dependencies.paste]
version = "1"

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

[dev-dependencies.serial_test]
version = "3.0.0"

[dev-dependencies.tracing-glog]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.criterion]
version = "0.8"
default-features = false

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.tokio]
version = "1.30"
features = [
    "rt",
    "time",
    "sync",
    "macros",
]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3.50"

[target.'cfg(all(target_arch = "wasm32",target_os = "unknown"))'.dependencies.js-sys]
version = "0.3.77"

[target.'cfg(all(target_arch = "wasm32",target_os = "unknown"))'.dependencies.tokio_with_wasm]
version = "0.8.2"
features = [
    "macros",
    "sync",
    "rt",
    "time",
]

[target.'cfg(all(target_arch = "wasm32",target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2.100"

[target.'cfg(all(target_arch = "wasm32",target_os = "unknown"))'.dependencies.wasm-bindgen-futures]
version = "0.4.50"

[target.'cfg(all(target_arch = "wasm32",target_os = "unknown"))'.dependencies.web-time]
version = "1.1.0"

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies.criterion]
version = "0.8"

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies.tokio]
version = "1.30"
features = [
    "rt",
    "time",
    "sync",
    "macros",
    "rt-multi-thread",
    "tracing",
]

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies.tracing-test]
version = "0.2"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tokio_unstable)",
    "cfg(rust_analyzer)",
]
