Skip to content

ci: test WASM#62

Closed
realeinherjar wants to merge 1 commit intobitcoindevkit:masterfrom
realeinherjar:einherjar/test-wasm
Closed

ci: test WASM#62
realeinherjar wants to merge 1 commit intobitcoindevkit:masterfrom
realeinherjar:einherjar/test-wasm

Conversation

@realeinherjar
Copy link
Copy Markdown

@realeinherjar realeinherjar commented Oct 25, 2023

Since #59 mentioned that wasm would break under certain circumstances, we have no idea when it will break.
Hence, this PR adds WASM checks in the CI.

From @LLFourn in #59:

PS are we testing this crate on WASM? If not PR fixing that before this one would be good.

Since #59 mentioned that wasm would break under certain circumstances,
we have no idea when it will break.
Hence, this PR adds WASM checks in the CI.
Comment thread Cargo.toml
Comment on lines -20 to +30
bitcoin = { version = "0.30.0", features = ["serde", "std"], default-features = false }
bitcoin = { version = "0.30.0", features = [
"serde",
"std",
], default-features = false }
# Temporary dependency on internals until the rust-bitcoin devs release the hex-conservative crate.
bitcoin-internals = { version = "0.1.0", features = ["alloc"] }
log = "^0.4"
ureq = { version = "2.5.0", features = ["json"], optional = true }
reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] }
reqwest = { version = "0.11", optional = true, default-features = false, features = [
"json",
] }
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto formatting

Comment thread Cargo.toml
Comment on lines -30 to +41
electrsd = { version = "0.24.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_22_0"] }
electrsd = { version = "0.24.0", features = [
"legacy",
"esplora_a33e97e1",
"bitcoind_22_0",
] }
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto formatting

Comment thread Cargo.toml
Comment on lines +31 to +32
# WASM specific fix
getrandom = { version = "0.2", features = ["js"] }
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only real change in Cargo.toml

@realeinherjar
Copy link
Copy Markdown
Author

MSRV is broken. I will work on a fix in a new PR and rebase this one.

@realeinherjar realeinherjar mentioned this pull request Oct 27, 2023
@realeinherjar realeinherjar closed this by deleting the head repository Nov 18, 2023
@coveralls
Copy link
Copy Markdown

coveralls commented Feb 20, 2024

Pull Request Test Coverage Report for Build 6645467208

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.03%) to 79.283%

Files with Coverage Reduction New Missed Lines %
src/api.rs 1 28.99%
Totals Coverage Status
Change from base Build 6407211107: -0.03%
Covered Lines: 907
Relevant Lines: 1144

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants