storage-kit 0.0.1

Portable database and transactional state-store Kit.
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.99"
name = "storage-kit"
version = "0.0.1"
build = false
include = [
    "src/**",
    "examples/**",
    "tests/**",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable database and transactional state-store Kit."
documentation = "https://docs.rs/storage-kit"
readme = "README.md"
keywords = [
    "vector-database",
    "sdk",
    "lancedb",
    "surrealdb",
]
categories = [
    "database",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/jecsand838/ai-kit"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = []
postgres = ["dep:tokio-postgres"]
redb = ["dep:redb"]
sqlite = ["dep:turso"]
surrealdb = [
    "dep:surrealdb",
    "dep:surrealdb-core",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arrow-array]
version = "58.4.1"

[dependencies.arrow-schema]
version = "58.4.1"

[dependencies.bitflags]
version = "2.11"
features = ["serde"]

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]

[dependencies.futures]
version = "0.3"

[dependencies.lance]
version = "=13.0.0"
default-features = false

[dependencies.lance-io]
version = "=13.0.0"
default-features = false

[dependencies.lance-table]
version = "=13.0.0"
default-features = false

[dependencies.lancedb]
version = "=0.40.0"
features = ["remote"]
default-features = false

[dependencies.object_store]
version = "=0.14.2"
default-features = false

[dependencies.redb]
version = "=4.3.0"
optional = true
default-features = false

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"
features = ["float_roundtrip"]

[dependencies.surrealdb]
version = "=3.3.0"
features = [
    "protocol-ws",
    "protocol-http",
    "rustls",
    "kv-mem",
    "kv-rocksdb",
    "kv-surrealkv",
]
optional = true
default-features = false

[dependencies.surrealdb-core]
version = "=3.3.0"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-postgres]
version = "0.7.18"
features = ["runtime"]
optional = true
default-features = false

[dependencies.turso]
version = "=0.8.2"
optional = true
default-features = false

[dependencies.url]
version = "2.5"

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

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
default-features = false

[dev-dependencies.tempfile]
version = "3.27"

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

[dev-dependencies.uuid]
version = "1"
features = ["v4"]

[target."cfg(unix)".dependencies.rustix]
version = "=1.1.4"
features = ["fs"]
default-features = false