# 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 = "neptunium-cache-inmemory"
version = "0.5.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "In-memory caching implementation for Fluxer."
readme = "README.md"
keywords = [
    "fluxer",
    "fluxer-neptunium",
]
categories = ["caching"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PilkeySEK/fluxer-neptunium"

[features]
default = ["statistics"]
statistics = []
user_api = [
    "neptunium-model/user_api",
    "neptunium-http/user_api",
]

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

[dependencies.arc-swap]
version = "1.9.1"

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

[dependencies.atomic_once_cell]
version = "0.2.0"

[dependencies.bon]
version = "3.9.1"

[dependencies.mini-moka]
version = "0.10.3"

[dependencies.neptunium-http]
version = "0.5.2"

[dependencies.neptunium-model]
version = "0.5.2"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokio]
version = "1.51.0"
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.zeroize]
version = "1.8.2"

[lints.clippy.cargo]
level = "warn"
priority = 0

[lints.clippy.cargo_common_metadata]
level = "allow"
priority = 2

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.clippy.new_without_default]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "warn"
priority = 0
