From f88a3f18887e2ea8d419dd8de3f0b2fe51b5abef Mon Sep 17 00:00:00 2001 From: Ray Walker Date: Thu, 30 Jul 2026 12:39:19 +1000 Subject: [PATCH] docs(client): point builder reliability opt-out at ReliabilityConfig::disabled() (LAB-1059) The CacheKitBuilder::reliability rustdoc was the one opt-out surface #50 missed - it still taught the all-None config prose that ReliabilityConfig::disabled() replaced in README, preset docs, and the reliability rustdoc. Same panel MIN, same fix, last surface. --- crates/cachekit/src/client.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/cachekit/src/client.rs b/crates/cachekit/src/client.rs index 6d811ba..0ca73dc 100644 --- a/crates/cachekit/src/client.rs +++ b/crates/cachekit/src/client.rs @@ -980,8 +980,9 @@ impl CacheKitBuilder { /// /// Enabled by default with production settings by the `production`, /// `encrypted`, and `io` intent presets; off for `minimal` and for - /// manually-built clients. To opt a preset out, pass a config with all - /// layers `None` — an empty config applies no wrapping at all. + /// manually-built clients. To opt a preset out, pass + /// [`ReliabilityConfig::disabled()`](crate::reliability::ReliabilityConfig::disabled) + /// — a disabled config applies no wrapping at all. #[cfg(all(feature = "reliability", not(target_arch = "wasm32")))] pub fn reliability(mut self, config: crate::reliability::ReliabilityConfig) -> Self { self.reliability = Some(config);