diff --git a/core/util.rs b/core/util.rs index 691dfac3b..145235494 100644 --- a/core/util.rs +++ b/core/util.rs @@ -670,6 +670,7 @@ impl OpenMode { ))), } } + #[allow(dead_code)] pub fn get_flags(&self) -> OpenFlags { match self { OpenMode::ReadWriteCreate => OpenFlags::Create, @@ -705,6 +706,7 @@ fn normalize_windows_path(path: &str) -> String { } /// Parses a SQLite URI, handling Windows and Unix paths separately. +#[allow(dead_code)] pub fn parse_sqlite_uri(uri: &str) -> Result { if !uri.starts_with("file:") { return Ok(OpenOptions {