Skip to content

Commit

Permalink
chore: remove unused serde_derive
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Jan 31, 2024
1 parent fadac95 commit 1a80667
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 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 integrationtests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ rand = "0.8.5"
axum = "0.7.3"
anyhow = { version = "1.0.79", features = ["backtrace"] }
serde = { version = "1.0.195", features = ["derive"] }
serde_derive = "1.0.195"
serde_json = "1.0.111"
lightning-invoice = "0.27.0"
lightning = "0.0.119"
Expand Down
1 change: 0 additions & 1 deletion moksha-mint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ anyhow = { version = "1.0.75", features = ["backtrace"] }
axum = { version = "0.7.3", features = ["http2"] }
hyper = "0.14.28"
serde = { version = "1.0.193", features = ["derive"] }
serde_derive = "1.0.171"
serde_json = "1.0.108"
tokio = { version = "1.34.0", features = ["full"] }
tower-http = { version = "0.5.0", features = ["trace", "cors", "fs", "set-header"] }
Expand Down
2 changes: 1 addition & 1 deletion moksha-mint/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{env, net::SocketAddr, path::PathBuf};

use moksha_core::primitives::{CurrencyUnit, Nut14, Nut15, PaymentMethod};
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};

use crate::lightning::lnd::LndLightningSettings;

Expand Down
2 changes: 1 addition & 1 deletion moksha-mint/src/lightning/alby.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fmt::{self, Formatter};

use async_trait::async_trait;
use hyper::{header::CONTENT_TYPE, http::HeaderValue};
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use tracing::info;
use url::Url;

Expand Down
2 changes: 1 addition & 1 deletion moksha-mint/src/lightning/cln.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use async_trait::async_trait;
use cln_grpc::pb::{amount_or_any, Amount, AmountOrAny};
use cln_grpc::pb::{listinvoices_invoices::ListinvoicesInvoicesStatus, node_client::NodeClient};
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use std::fmt::{self};
use std::{fmt::Formatter, path::PathBuf, sync::Arc};

Expand Down
2 changes: 1 addition & 1 deletion moksha-mint/src/lightning/lnbits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fmt::{self, Formatter};

use async_trait::async_trait;
use hyper::{header::CONTENT_TYPE, http::HeaderValue};
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use url::Url;

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion moksha-mint/src/lightning/lnd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::{
};
use async_trait::async_trait;
use fedimint_tonic_lnd::Client;
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use tokio::sync::{MappedMutexGuard, Mutex, MutexGuard};
use url::Url;

Expand Down

0 comments on commit 1a80667

Please sign in to comment.