kmp-adapter-embedded 0.4.2

Embedded SQLite storage adapters for every KMP persistence port
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.97"
name = "kmp-adapter-embedded"
version = "0.4.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embedded SQLite storage adapters for every KMP persistence port"
readme = "README.md"
keywords = [
    "kmp",
    "sqlite",
    "embedded",
    "storage",
    "memory",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/underpass-ai/kmp"

[features]
default = ["sqlite"]
sqlite = []

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

[[bin]]
name = "embedded_crash_writer"
path = "src/bin/embedded_crash_writer.rs"

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

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

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

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

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

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

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

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

[dependencies.kmp-application]
version = "0.4.2"

[dependencies.kmp-domain]
version = "0.4.2"

[dependencies.kmp-observability]
version = "0.4.2"
default-features = false

[dependencies.kmp-ports]
version = "0.4.2"

[dependencies.rusqlite]
version = "0.40.1"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10"

[dependencies.tokio]
version = "1.50.0"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "sync",
    "time",
]

[dev-dependencies.kmp-application]
version = "0.4.2"

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

[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"