# 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"
name = "fn0-doc-db"
version = "0.4.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Document-oriented Turso/libSQL DB (works in both WASI components and native binaries)"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/NamseEnt/fn0"

[features]
dev-test = []

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

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

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

[dependencies.anyhow]
version = "=1.0.100"

[dependencies.bytes]
version = "=1.11.1"

[dependencies.libsql-hrana]
version = "=0.9.29"

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

[dependencies.serde_json]
version = "=1.0.148"

[dependencies.tracing]
version = "=0.1.44"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "=0.8.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "=0.12.28"
features = [
    "rustls-tls-webpki-roots-no-provider",
    "json",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "=1.49.0"
features = ["time"]

[target.'cfg(target_arch = "wasm32")'.dependencies.forte-sdk]
version = "=0.3.6"
