Skip to content

Commit 09d9cc2

Browse files
committed
feat: add idempotency plugin
1 parent 9875097 commit 09d9cc2

4 files changed

Lines changed: 497 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,5 @@ jobs:
5050
restore-keys: |
5151
${{ runner.os }}-cargo-build-
5252
53-
# Build in release mode
54-
- name: Build in release mode
55-
run: cargo build --release --all-features
56-
57-
# Compile tests for all features without running them
58-
- name: Compile tests (all features)
59-
run: cargo test --all-features --no-run
60-
61-
# Run tests
62-
- name: Run tests
63-
run: cargo test --release --all-features
64-
65-
# Validate examples
6653
- name: Build all examples
6754
run: cargo build --release --all-features --examples

src/plugins.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ pub mod rate_limiter;
6262
/// Metrics/tracing plugin for integrating with systems like Prometheus or OpenTelemetry.
6363
pub mod metrics;
6464

65+
/// Idempotency-Key based request de-duplication plugin.
66+
pub mod idempotency;
67+
6568
/// Trait for implementing Tako framework plugins.
6669
///
6770
/// Plugins extend the framework's functionality by implementing this trait. They can

0 commit comments

Comments
 (0)