From fde7c6431b526025dba87a12eb48fc633fd888f3 Mon Sep 17 00:00:00 2001 From: Matthew Jackson Date: Tue, 12 May 2026 09:01:52 -0700 Subject: [PATCH] v0.18.21: fix borrow checker, make io public --- src/io/pipeline.rs | 2 +- src/lib.rs | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/io/pipeline.rs b/src/io/pipeline.rs index f808237..b5eb26a 100644 --- a/src/io/pipeline.rs +++ b/src/io/pipeline.rs @@ -40,7 +40,7 @@ use std::thread::{self, JoinHandle}; use crate::error::Error; /// Check if verbose debug logging is enabled via FREEMKV_DEBUG env var. -fn debug_enabled() -> bool { +pub fn debug_enabled() -> bool { std::env::var("FREEMKV_DEBUG") .ok() .map(|v| v == "1" || v == "true" || v == "yes") diff --git a/src/lib.rs b/src/lib.rs index 003ac6d..8ae974a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,18 +72,18 @@ //! | E7xxx | AACS errors | pub mod aacs; -pub(crate) mod clpi; -pub mod css; -pub mod decrypt; -pub mod disc; -pub mod drive; -pub mod error; -pub mod event; -pub mod halt; -pub(crate) mod identity; -pub(crate) mod ifo; -pub(crate) mod io; -pub mod keydb; + pub(crate) mod clpi; + pub mod css; + pub mod decrypt; + pub mod disc; + pub mod drive; + pub mod error; + pub mod event; + pub mod halt; + pub(crate) mod identity; + pub(crate) mod ifo; + pub mod io; + pub mod keydb; pub mod labels; pub(crate) mod mpls; pub mod mux;