[package]
edition = "2024"
rust-version = "1.97.1"
name = "minco-plugin-idempotency"
version = "0.1.1"
authors = ["Minco Contributors"]
build = false
include = [
"src/**",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idempotency keys, request fingerprints, and storage ports for Minco applications"
homepage = "https://github.com/xicv/minco"
documentation = "https://docs.rs/minco-plugin-idempotency"
readme = "README.md"
keywords = [
"minco",
"idempotency",
"http",
"plugin",
]
categories = ["web-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/xicv/minco"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "minco_plugin_idempotency"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
[dependencies.minco-core]
version = "0.1.1"
[dependencies.semver]
version = "1.0"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
"sync",
"net",
"process",
"fs",
]
[lints.clippy]
future_not_send = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"