# 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.2.0-rc.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/sdk"
readme = "README.md"
keywords = [
    "iii",
    "sdk",
    "engine",
    "distributed",
]
categories = [
    "api-bindings",
    "asynchronous",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/iii-hq/sdk"

[features]
default = []
otel = [
    "opentelemetry",
    "opentelemetry_sdk",
    "opentelemetry-proto",
    "prost",
    "sysinfo",
]

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

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

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

[dependencies.hostname]
version = "0.4"

[dependencies.opentelemetry]
version = "0.31"
optional = true

[dependencies.opentelemetry-proto]
version = "0.31"
features = [
    "gen-tonic-messages",
    "trace",
    "metrics",
    "logs",
    "with-serde",
]
optional = true

[dependencies.opentelemetry_sdk]
version = "0.31"
features = [
    "rt-tokio",
    "logs",
    "metrics",
    "trace",
]
optional = true

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sysinfo]
version = "0.38"
optional = true

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.28"

[dependencies.tracing]
version = "0.1"

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