Skip to content

Commit

Permalink
Remove obsolete base64 feature
Browse files Browse the repository at this point in the history
base64 handling is done inside the state machine now.
  • Loading branch information
DanGould committed Jan 30, 2025
1 parent bb4aaa3 commit 2b64f4d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion payjoin-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ hyper = { version = "1", features = ["http1", "server"], optional = true }
hyper-rustls = { version = "0.26", optional = true }
hyper-util = { version = "0.1", optional = true }
log = "0.4.7"
payjoin = { version = "0.22.0", features = ["base64"], default-features = false }
payjoin = { version = "0.22.0", default-features = false }
rcgen = { version = "0.11.1", optional = true }
reqwest = { version = "0.12", default-features = false }
rustls = { version = "0.22.4", optional = true }
Expand Down
1 change: 0 additions & 1 deletion payjoin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ exclude = ["tests"]

[features]
default = ["v2"]
base64 = ["bitcoin/base64"]
#[doc = "Core features for payjoin state machines"]
_core = ["bitcoin/rand", "serde_json", "url", "bitcoin_uri"]
directory = []
Expand Down
2 changes: 0 additions & 2 deletions payjoin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ pub use request::*;
#[cfg(feature = "_core")]
mod uri;

#[cfg(feature = "base64")]
pub use bitcoin::base64;
#[cfg(feature = "_core")]
pub use uri::{PjParseError, PjUri, Uri, UriExt};
#[cfg(feature = "_core")]
Expand Down

0 comments on commit 2b64f4d

Please sign in to comment.