Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Scope lint exceptions to generated Flutter bindings

Manav Rathi5974df5eb76e
diff --git a/rust/bindings/frb/locker/src/lib.rs b/rust/bindings/frb/locker/src/lib.rs
index 0a29e8ff92..7feeb51d78 100644
--- a/rust/bindings/frb/locker/src/lib.rs
+++ b/rust/bindings/frb/locker/src/lib.rs
@@ -1,5 +1,10 @@
pub mod api;
#[cfg(feature = "flutter")]
+#[expect(
+ clippy::allow_attributes,
+ clippy::allow_attributes_without_reason,
+ reason = "Flutter Rust Bridge generates allow attributes without reasons"
+)]
#[rustfmt::skip]
mod frb_generated;
diff --git a/rust/bindings/frb/photos/src/lib.rs b/rust/bindings/frb/photos/src/lib.rs
index 0a29e8ff92..7feeb51d78 100644
--- a/rust/bindings/frb/photos/src/lib.rs
+++ b/rust/bindings/frb/photos/src/lib.rs
@@ -1,5 +1,10 @@
pub mod api;
#[cfg(feature = "flutter")]
+#[expect(
+ clippy::allow_attributes,
+ clippy::allow_attributes_without_reason,
+ reason = "Flutter Rust Bridge generates allow attributes without reasons"
+)]
#[rustfmt::skip]
mod frb_generated;