# 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.0"
name = "dapr"
version = "0.19.0"
authors = [
    "Mike Nguyen <hey@mike.ee>",
    "The Dapr Authors <dapr@dapr.io>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for dapr"
readme = "README.md"
keywords = [
    "microservices",
    "dapr",
]
license = "Apache-2.0"
repository = "https://github.com/dapr/rust-sdk"
resolver = "2"

[features]
default = ["workflow"]
workflow = ["dep:dapr-durabletask"]

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

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

[dependencies.axum]
version = "0.7"

[dependencies.chrono]
version = "0.4"

[dependencies.dapr-durabletask]
version = "0.0.3"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.log]
version = "0.4"

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

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

[dependencies.serde_json]
version = "1.0"

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

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

[dependencies.tonic]
version = "0.14.6"

[dependencies.tonic-prost]
version = "0.14.6"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1.8.1"

[dev-dependencies.indexmap]
version = "=2.11.4"

[dev-dependencies.once_cell]
version = "1.19"

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

[dev-dependencies.tokio-stream]
version = "0.1"

[dev-dependencies.uuid]
version = "=1.23.2"
features = ["v4"]
