Skip to content
Merged
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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Every new feature should be covered by functional tests where possible.
When refactoring, structure your PR to make it easy to review and don't
hesitate to split it into multiple small, focused PRs.

The Minimum Supported Rust Version is **1.70.0** (enforced by our CI).
The Minimum Supported Rust Version is **1.75.0** (enforced by our CI).

Commits should cover both the issue fixed and the solution's rationale.
These [guidelines](https://chris.beams.io/posts/git-commit/) should be kept in mind. Commit messages follow the ["Conventional Commits 1.0.0"](https://www.conventionalcommits.org/en/v1.0.0/) to make commit histories easier to read by humans and automated tools. All commits must be [GPG signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits).
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.4.0"
description = "Experimental but sane electrum client by @evanlinjin."
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.70.0"
rust-version = "1.75"
repository = "https://github.com/bitcoindevkit/electrum_streaming_client"
documentation = "https://docs.rs/electrum_streaming_client"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl AsyncClient {
Some(incoming_res) => {
let event_opt = state
.handle_incoming(incoming_res?)
.map_err(|error| std::io::Error::new(std::io::ErrorKind::Other, error))?;
.map_err(std::io::Error::other)?;
if let Some(event) = event_opt {
if let Err(_err) = event_tx.unbounded_send(event) {
break;
Expand Down Expand Up @@ -325,7 +325,7 @@ impl BlockingClient {
.lock()
.unwrap()
.handle_incoming(incoming_res?)
.map_err(|error| std::io::Error::new(std::io::ErrorKind::Other, error))?;
.map_err(std::io::Error::other)?;
if let Some(event) = event_opt {
if let Err(_err) = event_tx.send(event) {
break;
Expand Down
Loading