Skip to content

Commit

Permalink
Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nickray committed Sep 11, 2022
1 parent 3da56d8 commit 8e347ab
Show file tree
Hide file tree
Showing 45 changed files with 2,592 additions and 2,028 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9598ef55a873af63b3fd681729b928c7280f3d0e
Empty file added rustfmt.toml
Empty file.
9 changes: 4 additions & 5 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//! [pkcs11-v3]: https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/pkcs11-base-v3.0.html
//! [pkcs11-headers]: https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/cs01/include/pkcs11-v3.0/
use crate::types::*;
use core::hint::unreachable_unchecked;
use core::time::Duration;
use crate::types::*;

#[macro_use]
mod macros;
Expand Down Expand Up @@ -44,7 +44,7 @@ generate_enums! {
ReadDirFilesFirst: 13
ReadDirFilesNext: 14
ReadFile: 15
Metadata: 26
Metadata: 26
// ReadCounter: 7
RandomBytes: 16
SerializeKey: 17
Expand Down Expand Up @@ -360,7 +360,7 @@ pub mod reply {

DebugDumpStore:

Decrypt:
Decrypt:
- plaintext: Option<Message>

Delete:
Expand All @@ -379,7 +379,7 @@ pub mod reply {
DeserializeKey:
- key: KeyId

Encrypt:
Encrypt:
- ciphertext: Message
- nonce: ShortData
- tag: ShortData
Expand Down Expand Up @@ -482,5 +482,4 @@ pub mod reply {
WriteCertificate:
- id: CertId
}

}
1 change: 0 additions & 1 deletion src/api/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ macro_rules! impl_reply {

)*}
}

Loading

0 comments on commit 8e347ab

Please sign in to comment.