Skip to content

Commit

Permalink
Remove unused serde_tuple dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed Feb 7, 2024
1 parent 8aae511 commit 106783e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 deletions.
22 changes: 0 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion samply-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ thiserror = "1.0.26"
serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.64"
serde_tuple = "0.5.0"
yaxpeax-arch = { version = "0.2.7", default-features = false }
yaxpeax-x86 = { version = "1.1.4", default-features = false, features = ["std", "fmt"] }
yaxpeax-arm = { version = "0.2.3", default-features = false, features = ["std"] }
Expand Down
5 changes: 3 additions & 2 deletions samply-api/src/asm/response_json.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use serde::{ser::SerializeSeq, Serialize};
use serde::ser::SerializeSeq;
use serde_derive::Serialize;

#[derive(Serialize, Debug)]
#[serde(rename_all = "camelCase")]
Expand Down Expand Up @@ -36,7 +37,7 @@ pub struct DecodedInstruction {
pub decoded_string_per_syntax: Vec<String>,
}

impl Serialize for DecodedInstruction {
impl serde::Serialize for DecodedInstruction {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
Expand Down
2 changes: 1 addition & 1 deletion samply-api/src/source/response_json.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::Serialize;
use serde_derive::Serialize;

#[derive(Serialize, Debug)]
#[serde(rename_all = "camelCase")]
Expand Down

0 comments on commit 106783e

Please sign in to comment.