Skip to content

Commit bc6f4ef

Browse files
committed
f Change pkg name to payjoin-defaults
1 parent 5019ff7 commit bc6f4ef

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: test payjoin v1 integration
3535
run: cargo test --package payjoin --verbose --features=send,receive --test integration
3636
- name: test payjoin v2 integration
37-
run: cargo test --package payjoin-io --verbose --features=danger-local-https,v2 --test integration
37+
run: cargo test --package payjoin-defaults --verbose --features=danger-local-https,v2 --test integration
3838
- name: test payjoin-cli bin v1
3939
run: cargo test --package payjoin-cli --verbose --features=danger-local-https
4040
- name: build payjoin-cli bin v2

Cargo.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["payjoin", "payjoin-cli", "payjoin-directory", "payjoin-io"]
2+
members = ["payjoin", "payjoin-cli", "payjoin-directory", "payjoin-defaults"]
33
resolver = "2"
44

55
[patch.crates-io.payjoin]

payjoin-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ path = "src/main.rs"
2020
[features]
2121
native-certs = ["ureq/native-certs"]
2222
danger-local-https = ["rcgen", "rustls", "hyper-rustls"]
23-
v2 = ["payjoin/v2", "payjoin-io"]
23+
v2 = ["payjoin/v2", "payjoin-defaults"]
2424

2525
[dependencies]
2626
anyhow = "1.0.70"
@@ -40,7 +40,7 @@ serde = { version = "1.0.160", features = ["derive"] }
4040
tokio = { version = "1.12.0", features = ["full"] }
4141
ureq = "2.9.4"
4242
url = { version = "2.3.1", features = ["serde"] }
43-
payjoin-io = { path = "../payjoin-io", optional = true}
43+
payjoin-defaults = { path = "../payjoin-defaults", optional = true}
4444

4545
[dev-dependencies]
4646
bitcoind = { version = "0.31.1", features = ["0_21_2"] }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "IO utilities for Payjoin"
44
edition = "2021"
55
keywords = ["bip77", "payjoin", "bitcoin", "networking"]
66
license = "MITNFA"
7-
name = "payjoin-io"
7+
name = "payjoin-defaults"
88
readme = "README.md"
99
repository = "https://github.com/payjoin/rust-payjoin"
1010
resolver = "2"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# payjoin-io
1+
# payjoin-defaults
22

33
This provides a collection of I/O utilities for working with the
44
payjoin crate. The payjoin crate only deals with the low-level
5-
protocol. payjoin-io provides sane defaults to make implementing
5+
protocol. payjoin-defaults provides sane defaults to make implementing
66
payjoin easy.
77

88
To learn more about payjoin, refer to [Payjoin Website](https://payjoin.org/).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ mod integration {
357357
cert_der: Vec<u8>,
358358
) -> Result<payjoin::OhttpKeys, BoxError> {
359359
let res = tokio::task::spawn_blocking(move || {
360-
payjoin_io::fetch_ohttp_keys(ohttp_relay.clone(), directory.clone(), cert_der)
360+
payjoin_defaults::fetch_ohttp_keys(ohttp_relay.clone(), directory.clone(), cert_der)
361361
})
362362
.await
363363
.map_err(|e| e.to_string())?

0 commit comments

Comments
 (0)