origin-storage 0.2.0

Storage port and TTL cache for Origin. Knows no storage engine.
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.88"
name = "origin-storage"
version = "0.2.0"
authors = ["Jörn Seidel <joern.seidel@casoon.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage port and TTL cache for Origin. Knows no storage engine."
homepage = "https://casoon.dev"
readme = "README.md"
keywords = [
    "tauri",
    "storage",
    "ttl-cache",
    "cache",
]
categories = [
    "caching",
    "database",
]
license = "MIT"
repository = "https://github.com/casoon/origin"

[features]
default = []
testing = []

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

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

[dependencies.async-trait]
version = "0.1.92"

[dependencies.origin-domain]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.time]
version = "0.3.55"
features = [
    "serde-well-known",
    "macros",
]

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

[dev-dependencies.origin-domain]
version = "0.2.0"
features = ["testing"]

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

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

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"