Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 298cc2f

Browse files
committed
Impl Send + Sync for Mutiny Traits
1 parent 3286839 commit 298cc2f

31 files changed

+347
-1763
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ target/
99

1010
# MSVC Windows builds of rustc generate these, which store debugging information
1111
*.pdb
12+
13+
*/bacon.toml

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
resolver="2"
2+
resolver = "2"
33

44
members = [
55
"mutiny-core",
@@ -15,6 +15,8 @@ opt-level = "z"
1515
opt-level = "z"
1616

1717
[patch.crates-io]
18-
lightning = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "a9925126ea3b27b91e0e804e2e2dd8ae29815218" }
19-
lightning-invoice = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "a9925126ea3b27b91e0e804e2e2dd8ae29815218" }
20-
lightning-rapid-gossip-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "a9925126ea3b27b91e0e804e2e2dd8ae29815218" }
18+
lightning = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "686a84236f54bf8d7270a5fbec07801e5281691f" }
19+
lightning-invoice = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "686a84236f54bf8d7270a5fbec07801e5281691f" }
20+
lightning-rapid-gossip-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "686a84236f54bf8d7270a5fbec07801e5281691f" }
21+
lightning-background-processor = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "686a84236f54bf8d7270a5fbec07801e5281691f" }
22+
lightning-transaction-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "686a84236f54bf8d7270a5fbec07801e5281691f" }

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ test:
2222
[linux]
2323
test:
2424
cargo test -p mutiny-core --target=x86_64-unknown-linux-gnu
25-
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --chrome ./mutiny-core
26-
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --chrome ./mutiny-wasm
25+
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --firefox ./mutiny-core
26+
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --firefox ./mutiny-wasm
2727

2828
test-nix:
2929
cargo test -p mutiny-core --target=aarch64-unknown-linux-gnu

mutiny-core/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ esplora-client = { version = "0.5", default-features = false }
3030
lightning = { version = "0.0.118", default-features = false, features = ["max_level_trace", "grind_signatures", "std"] }
3131
lightning-invoice = { version = "0.26.0", features = ["serde"] }
3232
lightning-rapid-gossip-sync = { version = "0.0.118" }
33+
lightning-background-processor = { version = "0.0.118", features = ["futures"] }
34+
lightning-transaction-sync = { version = "0.0.118", features = ["esplora-async-https"] }
3335
chrono = "0.4.22"
3436
futures-util = { version = "0.3", default-features = false }
3537
reqwest = { version = "0.11", default-features = false, features = ["json"] }

0 commit comments

Comments
 (0)