Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Crate Map

Use this page to choose the right crate for an application or integration.

CrateUse when
hydracacheYou need the local async cache, typed cache, TTLs, tags, single-flight, stats, diagnostics, cacheable macros, and client/member cluster API.
hydracache-dbYou are wrapping database or repository calls with explicit query-result caching.
hydracache-sqlxYou want SQLx-facing helpers such as sqlx_one, sqlx_optional, and sqlx_all.
hydracache-dieselYou want Diesel-facing aliases, re-exports, and blocking diesel_one, diesel_optional, and diesel_all helpers.
hydracache-seaormYou want SeaORM-facing aliases, re-exports, and async sea_one, sea_optional, and sea_all helpers.
hydracache-observabilityYou need a framework-neutral registry and serializable diagnostic snapshots.
hydracache-actuator-axumYou want read-only HydraCache diagnostics exposed through Axum routes.
hydracache-clusterYou want the standard chitchat plus raft adapter composition without wiring every handle manually.
hydracache-cluster-chitchatYou want real chitchat-backed cluster candidate discovery.
hydracache-cluster-raftYou want the real raft-rs metadata control-plane runtime behind ClusterControlPlane.
hydracache-cluster-transport-axumCluster members should expose HTTP peer-fetch over encoded cache bytes or use read-through near-cache hydration.
hydracache-redis-compatYou need the optional Redis RESP compatibility facade, command translation, resource limits, or HydraCache Redis extension commands.
hydracache-serverYou want the standalone daemon with optional HTTP/admin/client surfaces and the optional Redis RESP listener.
hydracache-coreYou need shared core types without the user-facing runtime.
hydracache-macrosUsually use this through re-exports from hydracache, hydracache-db, or adapter crates.
hydracache-sandboxYou are running the non-published manual sandbox for actuator, Swagger, memory, SQLite, Postgres Docker, scenario labs, and cluster-adapter checks.

Most application code should start with hydracache. Add adapter crates only when the application needs that integration surface.