# 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 = "iii-sdk"
version = "0.19.7-alpha.1"
authors = ["Motia LLC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for III Engine - a platform for building distributed applications"
homepage = "https://github.com/iii-hq/iii"
readme = "README.md"
keywords = [
    "iii",
    "sdk",
    "engine",
    "distributed",
]
categories = [
    "api-bindings",
    "asynchronous",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/iii-hq/iii"
resolver = "2"

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

[[test]]
name = "api_triggers"
path = "tests/api_triggers.rs"

[[test]]
name = "bridge"
path = "tests/bridge.rs"

[[test]]
name = "data_channels"
path = "tests/data_channels.rs"

[[test]]
name = "error_wire"
path = "tests/error_wire.rs"

[[test]]
name = "healthcheck"
path = "tests/healthcheck.rs"

[[test]]
name = "helpers_module"
path = "tests/helpers_module.rs"

[[test]]
name = "hold_process"
path = "tests/hold_process.rs"

[[test]]
name = "http_external_functions"
path = "tests/http_external_functions.rs"

[[test]]
name = "init_api"
path = "tests/init_api.rs"

[[test]]
name = "middleware"
path = "tests/middleware.rs"

[[test]]
name = "payload_capture"
path = "tests/payload_capture.rs"

[[test]]
name = "pubsub"
path = "tests/pubsub.rs"

[[test]]
name = "queue_integration"
path = "tests/queue_integration.rs"

[[test]]
name = "rbac_workers"
path = "tests/rbac_workers.rs"

[[test]]
name = "registration_dedup"
path = "tests/registration_dedup.rs"

[[test]]
name = "span_ops_api"
path = "tests/span_ops_api.rs"

[[test]]
name = "state"
path = "tests/state.rs"

[[test]]
name = "stream"
path = "tests/stream.rs"

[[test]]
name = "stream_provider_trait"
path = "tests/stream_provider_trait.rs"

[[test]]
name = "trigger_type_lifecycle"
path = "tests/trigger_type_lifecycle.rs"

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

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

[dependencies.hostname]
version = "0.4"

[dependencies.iii-helpers]
version = "0.19.7-alpha.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.schemars]
version = "0.8"

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

[dependencies.serde_json]
version = "1"
features = ["unbounded_depth"]

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-native-roots"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.ctor]
version = "0.6.3"

[dev-dependencies.opentelemetry]
version = "0.31"

[dev-dependencies.opentelemetry_sdk]
version = "0.31"
features = [
    "rt-tokio",
    "trace",
    "testing",
]

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "multipart",
    "stream",
]
default-features = false

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

[dev-dependencies.tokio]
version = "1"
features = ["test-util"]

[dev-dependencies.tracing-test]
version = "0.2"
