spacetimedb 2.2.0

Easy support for interacting between SpacetimeDB and Rust.
Documentation
# 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.93.0"
name = "spacetimedb"
version = "2.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy support for interacting between SpacetimeDB and Rust."
readme = "README.md"
license-file = "LICENSE"

[features]
default = ["rand"]
rand = ["rand08"]
rand08 = [
    "dep:rand08",
    "dep:getrandom02",
]
unstable = ["spacetimedb-bindings-sys/unstable"]

[lib]
name = "spacetimedb"
path = "src/lib.rs"
bench = false

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

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

[dependencies.anyhow]
version = "1.0.68"

[dependencies.bytemuck]
version = "1.16.2"
features = ["must_cast"]

[dependencies.bytes]
version = "1.10.1"

[dependencies.derive_more]
version = "0.99"

[dependencies.getrandom02]
version = "0.2"
features = ["custom"]
optional = true
package = "getrandom"

[dependencies.http]
version = "1.0"

[dependencies.log]
version = "0.4.17"

[dependencies.rand08]
version = "0.8"
optional = true
package = "rand"

[dependencies.scoped-tls]
version = "1.0.1"

[dependencies.serde_json]
version = "1.0.128"
features = [
    "raw_value",
    "arbitrary_precision",
]

[dependencies.spacetimedb-bindings-macro]
version = "=2.2.0"

[dependencies.spacetimedb-bindings-sys]
version = "=2.2.0"

[dependencies.spacetimedb-lib]
version = "=2.2.0"
default-features = false

[dependencies.spacetimedb-primitives]
version = "=2.2.0"

[dependencies.spacetimedb-query-builder]
version = "=2.2.0"

[dev-dependencies.insta]
version = "1.21.0"
features = [
    "toml",
    "filters",
]

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

[lints.clippy]
result_large_err = "allow"

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