# 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.85"
name = "lattice-db-client"
version = "1.2.0"
authors = ["Taika 3D Oy"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed Rust client SDK for lattice-db — wraps the NATS request/reply protocol"
readme = "README.md"
keywords = [
    "lattice-db",
    "nats",
    "wasi",
    "wasip3",
    "database",
]
categories = [
    "database",
    "wasm",
]
license = "Apache-2.0"
repository = "https://github.com/Taika-3D-Oy/lattice-db"

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

[[example]]
name = "bench"
crate-type = ["cdylib"]
path = "examples/bench.rs"

[[example]]
name = "smoke_test"
crate-type = ["cdylib"]
path = "examples/smoke_test.rs"

[dependencies.base64]
version = "0.22"
features = ["alloc"]
default-features = false

[dependencies.futures]
version = "0.3"
features = ["alloc"]
default-features = false

[dependencies.nats-wasi]
version = "0.8"
package = "nats-wasip3"

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

[dependencies.serde_json]
version = "1"

[dependencies.wasip3]
version = "0.5"

[dependencies.wit-bindgen]
version = "0.54"
features = [
    "async",
    "async-spawn",
    "macros",
]
default-features = false
