Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions crates/cachekit/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down