# 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.90.0"
name = "spacetimedb-sdk"
version = "1.11.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for clients to interface with SpacetimeDB"
readme = false
license-file = "LICENSE"
resolver = "3"

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

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

[dependencies.anymap]
version = "0.12"

[dependencies.base64]
version = "0.21.2"

[dependencies.brotli]
version = "3.5"

[dependencies.bytes]
version = "1.10.1"

[dependencies.flate2]
version = "1.0.24"

[dependencies.futures]
version = "0.3"

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

[dependencies.home]
version = "0.5"

[dependencies.http]
version = "1.0"

[dependencies.log]
version = "0.4.17"

[dependencies.once_cell]
version = "1.16"

[dependencies.prometheus]
version = "0.13.0"

[dependencies.rand]
version = "0.9"

[dependencies.spacetimedb-client-api-messages]
version = "=1.11.2"

[dependencies.spacetimedb-data-structures]
version = "=1.11.2"

[dependencies.spacetimedb-lib]
version = "=1.11.2"
features = [
    "serde",
    "metrics_impls",
]
default-features = false

[dependencies.spacetimedb-metrics]
version = "=1.11.2"

[dependencies.spacetimedb-sats]
version = "=1.11.2"

[dependencies.thiserror]
version = "1.0.37"

[dependencies.tokio]
version = "1.37"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.27.0"
features = [
    "native-tls",
    "url",
]

[dev-dependencies.cursive]
version = "0.20"
features = ["crossterm-backend"]
default-features = false

[dev-dependencies.futures-channel]
version = "0.3"

[dev-dependencies.hex]
version = "0.4.3"

[lints.clippy]
result_large_err = "allow"

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