Skip to content

Commit 0cb3318

Browse files
committed
fix(frb): hide NoopEncryption from codegen to fix broken Dart import noop.dart referenced core/traits.dart which is not generated (#[frb(ignore)] on Encryption trait).NoopEncryption itself does not need FRB scanning only create_noop_encryption() returning CipherHandle is the public API.
1 parent e41b970 commit 0cb3318

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/src/api/encryption/noop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crate::core::traits::Encryption;
77

88
/// A no-op cipher that returns data unchanged.
99
/// Used to validate FRB opaque handle pattern works.
10-
#[frb(opaque)] // must be opaque to maintain SecretBuffer guanrantees.
10+
#[frb(ignore)]
1111
pub struct NoopEncryption {}
1212

1313
impl Encryption for NoopEncryption {

0 commit comments

Comments
 (0)