π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[rust][photos] Keep the raw connection opener crate-private
laurenspriem1357b3eccbc9
diff --git a/rust/crates/photos/src/db.rs b/rust/crates/photos/src/db.rsindex 27b76fce0d..a5dd23ec69 100644--- a/rust/crates/photos/src/db.rs+++ b/rust/crates/photos/src/db.rs@@ -17,7 +17,7 @@ pub type Result<T> = std::result::Result<T, Error>;pub struct Connection(rusqlite::Connection);impl Connection {- pub fn open(path: impl AsRef<Path>) -> Result<Self> {+ pub(crate) fn open(path: impl AsRef<Path>) -> Result<Self> {Ok(Self(rusqlite::Connection::open(path)?))}