CacheKit Docs

High-performance cache policies and supporting data structures.

View the Project on GitHub OxidizeLabs/cachekit

API Surface

This page maps the major modules and how they fit together.

Core Modules

Typical Flow

  1. Choose a CachePolicy variant.
  2. Build with CacheBuilder::new(capacity).build::<K, V>(policy).
  3. Use the unified Cache<K, V> API for standard operations.
  4. Drop into policy::* or ds::* for advanced or policy-specific operations.

Feature Flags

Policies are gated behind feature flags (e.g. policy-lru, policy-s3-fifo). Use default-features = false and enable only the policies you need. See Compatibility and Features.

Where to Start