shiplog-cache 0.6.0

SQLite cache with TTL, inspection, and cleanup helpers for shiplog source API calls.
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.95"
name = "shiplog-cache"
version = "0.6.0"
authors = ["Steven Zimmerman, CPA <git@effortlesssteven.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite cache with TTL, inspection, and cleanup helpers for shiplog source API calls."
homepage = "https://effortlessmetrics.com/shiplog"
documentation = "https://docs.rs/shiplog-cache"
readme = "README.md"
keywords = [
    "cache",
    "sqlite",
    "ttl",
    "github",
    "api",
]
categories = [
    "caching",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/shiplog"
resolver = "2"

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

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

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.rusqlite]
version = "0.39.0"
features = [
    "bundled",
    "chrono",
    "serde_json",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.insta]
version = "1.47.2"
features = ["yaml"]

[dev-dependencies.proptest]
version = "1.11.0"

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

[lints.clippy]
cloned_instead_of_copied = "allow"
decimal_bitwise_operands = "warn"
duration_suboptimal_units = "warn"
enum_glob_use = "warn"
flat_map_option = "warn"
manual_checked_ops = "warn"
manual_ilog2 = "warn"
manual_take = "warn"
needless_pass_by_value = "allow"
needless_type_cast = "warn"
same_length_and_capacity = "deny"
unnecessary_sort_by = "warn"
unnecessary_trailing_comma = "warn"

[lints.rust]
const_item_interior_mutations = "deny"
function_casts_as_integer = "deny"
missing_debug_implementations = "allow"
unexpected_cfgs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
unused_visibilities = "warn"