fix: remove unused bytemuck dep and apply nightly fmt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
fryorcraken 2026-02-27 18:22:12 +11:00
parent 510596bf32
commit f17336e4f8
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
4 changed files with 8 additions and 4 deletions

1
Cargo.lock generated
View File

@ -8990,7 +8990,6 @@ dependencies = [
"async-stream",
"base64 0.22.1",
"borsh",
"bytemuck",
"clap",
"common",
"env_logger",

View File

@ -70,7 +70,10 @@ impl std::fmt::Debug for Message {
.field("public_account_ids", &self.public_account_ids)
.field("nonces", &self.nonces)
.field("public_post_states", &self.public_post_states)
.field("encrypted_private_post_states", &self.encrypted_private_post_states)
.field(
"encrypted_private_post_states",
&self.encrypted_private_post_states,
)
.field("new_commitments", &self.new_commitments)
.field("new_nullifiers", &nullifiers)
.finish()

View File

@ -18,7 +18,10 @@ pub struct Message {
impl std::fmt::Debug for Message {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let program_id_hex = hex::encode(
self.program_id.iter().flat_map(|n| n.to_le_bytes()).collect::<Vec<u8>>(),
self.program_id
.iter()
.flat_map(|n| n.to_le_bytes())
.collect::<Vec<u8>>(),
);
f.debug_struct("Message")
.field("program_id", &program_id_hex)

View File

@ -22,7 +22,6 @@ humantime.workspace = true
tokio = { workspace = true, features = ["macros"] }
clap.workspace = true
base64.workspace = true
bytemuck.workspace = true
borsh.workspace = true
hex.workspace = true
rand.workspace = true