Skip to content

Commit 9edd627

Browse files
committed
style: fix import ordering for edition 2021 rustfmt
1 parent 4db471b commit 9edd627

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

rust/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ pub use cachekit_core::{ByteStorage, OperationMetrics, StorageEnvelope};
88

99
#[cfg(feature = "encryption")]
1010
pub use cachekit_core::{
11-
EncryptionError, ZeroKnowledgeEncryptor, derive_domain_key,
11+
derive_domain_key,
1212
encryption::{
13-
key_derivation::{TenantKeys, derive_tenant_keys, key_fingerprint},
13+
key_derivation::{derive_tenant_keys, key_fingerprint, TenantKeys},
1414
key_rotation::KeyRotationState,
1515
},
16+
EncryptionError, ZeroKnowledgeEncryptor,
1617
};
1718

1819
// Python bindings (gated behind python feature)

rust/src/python_bindings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ impl PyByteStorage {
9292

9393
#[cfg(feature = "encryption")]
9494
use cachekit_core::{
95-
ZeroKnowledgeEncryptor,
9695
encryption::{
97-
key_derivation::{TenantKeys, derive_domain_key, derive_tenant_keys, key_fingerprint},
96+
key_derivation::{derive_domain_key, derive_tenant_keys, key_fingerprint, TenantKeys},
9897
key_rotation::KeyRotationState,
9998
},
99+
ZeroKnowledgeEncryptor,
100100
};
101101

102102
/// Python wrapper for ZeroKnowledgeEncryptor

0 commit comments

Comments
 (0)