Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
edition = "2021"
name = "payjoin-fuzz"
version = "0.0.1"
publish = false
edition = "2021"
version = "0.0.1"

[package.metadata]
cargo-fuzz = true
Expand Down
18 changes: 9 additions & 9 deletions ohttp-relay/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[package]
name = "ohttp-relay"
version = "0.0.11"
authors = ["Dan Gould <d@ngould.dev>"]
categories = ["web-programming", "network-programming"]
description = "Relay Oblivious HTTP requests to protect IP metadata"
repository = "https://github.com/payjoin/rust-payjoin/tree/master/ohttp-relay"
readme = "README.md"
edition = "2021"
exclude = ["tests"]
keywords = ["ohttp", "privacy"]
categories = ["web-programming", "network-programming"]
license = "MITNFA"
edition = "2021"
name = "ohttp-relay"
readme = "README.md"
repository = "https://github.com/payjoin/rust-payjoin/tree/master/ohttp-relay"
rust-version = "1.85.0"
exclude = ["tests"]
version = "0.0.11"

[features]
default = ["bootstrap"]
_test-util = []
bootstrap = ["connect-bootstrap", "ws-bootstrap"]
connect-bootstrap = []
default = ["bootstrap"]
ws-bootstrap = ["futures", "rustls", "tokio-tungstenite"]
_test-util = []

[dependencies]
byteorder = "1.5.0"
Expand Down
18 changes: 9 additions & 9 deletions payjoin-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
[package]
name = "payjoin-cli"
version = "0.2.0"
authors = ["Dan Gould <d@ngould.dev>"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
description = "A command-line Payjoin client for Bitcoin Core"
repository = "https://github.com/payjoin/rust-payjoin"
readme = "README.md"
edition = "2021"
exclude = ["tests"]
keywords = ["bip78", "payjoin", "bitcoin"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
license = "MITNFA"
edition = "2021"
rust-version = "1.85"
name = "payjoin-cli"
readme = "README.md"
repository = "https://github.com/payjoin/rust-payjoin"
resolver = "2"
exclude = ["tests"]
rust-version = "1.85"
version = "0.2.0"

[[bin]]
name = "payjoin-cli"
path = "src/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
_manual-tls = ["reqwest/rustls-tls", "payjoin/_manual-tls", "tokio-rustls"]
default = ["v2"]
native-certs = ["reqwest/rustls-tls-native-roots"]
_manual-tls = ["reqwest/rustls-tls", "payjoin/_manual-tls", "tokio-rustls"]
v1 = ["payjoin/v1", "hyper", "hyper-util", "http-body-util"]
v2 = ["payjoin/v2", "payjoin/io"]

Expand Down
14 changes: 7 additions & 7 deletions payjoin-directory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "payjoin-directory"
version = "0.0.3"
authors = ["Dan Gould <d@ngould.dev>"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
description = "A store-and-forward and Oblivious Gateway Resource directory server for Async Payjoin"
repository = "https://github.com/payjoin/rust-payjoin"
readme = "README.md"
edition = "2021"
keywords = ["bip78", "bip77", "payjoin", "bitcoin", "ohttp"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
license = "MITNFA"
edition = "2021"
rust-version = "1.85"
name = "payjoin-directory"
readme = "README.md"
repository = "https://github.com/payjoin/rust-payjoin"
resolver = "2"
rust-version = "1.85"
version = "0.0.3"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
14 changes: 7 additions & 7 deletions payjoin-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[package]
name = "payjoin-ffi"
version = "0.24.0"
edition = "2021"
license = "MIT OR Apache-2.0"
exclude = ["tests"]
license = "MIT OR Apache-2.0"
name = "payjoin-ffi"
version = "0.24.0"

[features]
default = []
_manual-tls = ["payjoin/_manual-tls"]
_test-utils = ["payjoin-test-utils", "tokio"]
csharp = ["dep:uniffi-bindgen-cs"]
dart = ["dep:uniffi-dart"]
_test-utils = ["payjoin-test-utils", "tokio"]
_manual-tls = ["payjoin/_manual-tls"]
default = []
wasm_js = ["getrandom/js"]

[lib]
name = "payjoin_ffi"
crate-type = ["lib", "staticlib", "cdylib"]
name = "payjoin_ffi"

[[bin]]
name = "uniffi-bindgen"
Expand Down
6 changes: 3 additions & 3 deletions payjoin-ffi/dart/native/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[workspace]

[package]
name = "payjoin-ffi-wrapper"
description = "This is a simple wrapper crate which re-exports payjoin-ffi for publishing to pub.dev"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "payjoin-ffi-wrapper"
publish = false
version = "0.1.0"

[features]
_test-utils = ["payjoin-ffi/_test-utils"]

[lib]
name = "payjoin_ffi_wrapper"
crate-type = ["staticlib", "cdylib"]
name = "payjoin_ffi_wrapper"

[dependencies]
payjoin-ffi = { git = "https://github.com/payjoin/rust-payjoin.git", branch = "master", features = [
Expand Down
2 changes: 1 addition & 1 deletion payjoin-ffi/javascript/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "payjoin-test-utils-napi"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]
Expand Down
16 changes: 8 additions & 8 deletions payjoin-mailroom/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[package]
name = "payjoin-mailroom"
version = "0.1.0"
description = "Combined Payjoin Directory and OHTTP Relay"
repository = "https://github.com/payjoin/rust-payjoin/tree/master/payjoin-mailroom"
keywords = ["bip77", "bitcoin", "ohttp", "payjoin", "privacy"]
categories = [
"cryptography::cryptocurrencies",
"network-programming",
"web-programming",
]
license = "MITNFA"
description = "Combined Payjoin Directory and OHTTP Relay"
edition = "2021"
keywords = ["bip77", "bitcoin", "ohttp", "payjoin", "privacy"]
license = "MITNFA"
name = "payjoin-mailroom"
repository = "https://github.com/payjoin/rust-payjoin/tree/master/payjoin-mailroom"
rust-version = "1.85.0"
version = "0.1.0"

[features]
default = []
_manual-tls = ["dep:axum-server", "dep:rustls", "ohttp-relay/_test-util"]
access-control = ["dep:flate2", "dep:ipnet", "dep:maxminddb", "dep:reqwest"]
acme = [
"dep:tokio-rustls-acme",
"dep:axum-server",
"dep:rustls",
"dep:tokio-stream",
]
access-control = ["dep:flate2", "dep:ipnet", "dep:maxminddb", "dep:reqwest"]
default = []
telemetry = ["dep:opentelemetry-otlp"]

[dependencies]
Expand Down
8 changes: 4 additions & 4 deletions payjoin-test-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "payjoin-test-utils"
version = "0.0.1"
edition = "2021"
authors = ["Dan Gould <d@ngould.dev>"]
description = "Payjoin test utilities"
edition = "2021"
license = "MIT"
name = "payjoin-test-utils"
repository = "https://github.com/payjoin/rust-payjoin"
rust-version = "1.85"
license = "MIT"
version = "0.0.1"

[dependencies]
axum-server = { version = "0.8", features = ["tls-rustls-no-provider"] }
Expand Down
18 changes: 9 additions & 9 deletions payjoin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[package]
name = "payjoin"
version = "1.0.0-rc.2"
authors = ["Dan Gould <d@ngould.dev>"]
description = "Payjoin Library implementing BIP 78 and BIP 77 batching protocols."
repository = "https://github.com/payjoin/rust-payjoin"
readme = "../README.md"
keywords = ["bip78", "payjoin", "bitcoin"]
categories = [
"api-bindings",
"cryptography::cryptocurrencies",
"network-programming",
]
description = "Payjoin Library implementing BIP 78 and BIP 77 batching protocols."
edition = "2021"
exclude = ["tests"]
keywords = ["bip78", "payjoin", "bitcoin"]
license = "MITNFA"
name = "payjoin"
readme = "../README.md"
repository = "https://github.com/payjoin/rust-payjoin"
resolver = "2"
edition = "2021"
rust-version = "1.85"
exclude = ["tests"]
version = "1.0.0-rc.2"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -35,9 +35,9 @@ directory = []
v1 = ["_core"]
v2 = ["_core", "hpke", "bhttp", "ohttp", "directory"]
#[doc = "Functions to fetch OHTTP keys via CONNECT proxy using reqwest. Enables `v2` since only `v2` uses OHTTP."]
io = ["v2", "reqwest/rustls-tls"]
_manual-tls = ["reqwest/rustls-tls", "rustls"]
_test-utils = []
io = ["v2", "reqwest/rustls-tls"]

[dependencies]
bhttp = { version = "0.6.1", optional = true }
Expand Down
13 changes: 12 additions & 1 deletion taplo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ indent_size = 2

[[rule]]
include = ["**/Cargo.toml"]
keys = ["dependencies", "*-dependencies", "workspace"]
keys = [
"dependencies",
"dev-dependencies",
"build-dependencies",
"workspace.dependencies",
]
[rule.formatting]
reorder_keys = true
align_comments = true

[[rule]]
include = ["**/Cargo.toml"]
keys = ["package", "features", "lib", "package.metadata", "package.metadata.*"]
[rule.formatting]
reorder_keys = true
Loading