mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-02-28 01:03:25 +00:00
fix: remove unused bytemuck dep and apply nightly fmt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
510596bf32
commit
f17336e4f8
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -8990,7 +8990,6 @@ dependencies = [
|
||||
"async-stream",
|
||||
"base64 0.22.1",
|
||||
"borsh",
|
||||
"bytemuck",
|
||||
"clap",
|
||||
"common",
|
||||
"env_logger",
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user