cratestack-sqlite 0.4.3

CrateStack embedded facade — rusqlite-backed SQLite runtime (native + wasm32) plus the shared schema/parser/policy/SQL surface. Pick this crate via `cratestack = { package = "cratestack-sqlite" }` for mobile, desktop, browser, or any on-device storage layer.
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"
name = "cratestack-sqlite"
version = "0.4.3"
authors = ["Stephane Segning <selastlambou@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'CrateStack embedded facade — rusqlite-backed SQLite runtime (native + wasm32) plus the shared schema/parser/policy/SQL surface. Pick this crate via `cratestack = { package = "cratestack-sqlite" }` for mobile, desktop, browser, or any on-device storage layer.'
homepage = "https://cratestack.dev"
documentation = "https://rust-doc.cratestack.dev/cratestack"
readme = "README.md"
keywords = [
    "api",
    "schema",
    "codegen",
    "axum",
    "sqlx",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/cratestack/cratestack"

[features]
codec-json = ["cratestack-client-rust/codec-json"]
decimal-bigdecimal = [
    "cratestack-core/decimal-bigdecimal",
    "cratestack-rusqlite/decimal-bigdecimal",
]
decimal-rust-decimal = [
    "cratestack-core/decimal-rust-decimal",
    "cratestack-rusqlite/decimal-rust-decimal",
]
default = [
    "decimal-rust-decimal",
    "codec-json",
]

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

[[example]]
name = "sqlite_ffi_dispatch"
path = "examples/sqlite_ffi_dispatch.rs"

[[example]]
name = "sqlite_offline_first"
path = "examples/sqlite_offline_first.rs"

[[example]]
name = "sqlite_quickstart"
path = "examples/sqlite_quickstart.rs"

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

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

[dependencies.chrono]
version = "0"
features = ["serde"]

[dependencies.cratestack-core]
version = "0.4.3"

[dependencies.cratestack-macros]
version = "0.4.3"

[dependencies.cratestack-parser]
version = "0.4.3"

[dependencies.cratestack-policy]
version = "0.4.3"

[dependencies.cratestack-rusqlite]
version = "0.4.3"

[dependencies.cratestack-sql]
version = "0.4.3"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cratestack-client-rust]
version = "0.4.3"
default-features = false