persistant 0.4.32

A thin persistence layer over Apache OpenDAL for blobs and records by key: declared capabilities, atomic replace, typed records, and a blocking facade for synchronous callers.
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.91"
name = "persistant"
version = "0.4.32"
build = false
include = [
    "src/**",
    "tests/**",
    "examples/**",
    "README.md",
    "CHANGELOG.md",
    "SECURITY.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A thin persistence layer over Apache OpenDAL for blobs and records by key: declared capabilities, atomic replace, typed records, and a blocking facade for synchronous callers."
readme = "README.md"
keywords = [
    "storage",
    "persistence",
    "opendal",
    "atomic",
    "blob",
]
categories = [
    "filesystem",
    "database-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ciresnave/PersistAnt"

[features]
blob = [
    "dep:persistant-blob",
    "core",
]
core = ["dep:persistant-core"]
kv = [
    "dep:persistant-kv",
    "blob",
    "relational",
    "core",
]
opendal-driver = [
    "dep:persistant-opendal",
    "blob",
]
relational = ["dep:persistant-relational"]
sqlx-driver = [
    "dep:persistant-sqlx",
    "relational",
]

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

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

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

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

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

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

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

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

[dependencies.futures-util]
version = "0.3.34"
default-features = false

[dependencies.opendal]
version = "0.59.4"
features = ["services-fs"]
default-features = false

[dependencies.persistant-blob]
version = "0.4.32"
optional = true

[dependencies.persistant-core]
version = "0.4.32"
optional = true

[dependencies.persistant-kv]
version = "0.4.32"
optional = true

[dependencies.persistant-opendal]
version = "0.4.32"
optional = true

[dependencies.persistant-relational]
version = "0.4.32"
optional = true

[dependencies.persistant-sqlx]
version = "0.4.32"
optional = true

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.tokio]
version = "1.53.2"
features = [
    "rt",
    "sync",
]

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

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