diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index feadc3b..4192c80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.57 + toolchain: 1.63 - run: cargo check --workspace check: @@ -32,5 +32,4 @@ jobs: with: toolchain: stable components: clippy - - run: cargo install cargo-hack - - run: cargo hack clippy --workspace --each-feature -- -D warnings + - run: cargo clippy --workspace --all-features -- -D warnings diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bd9dc0..01d60f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - monero: [ 0.17.3.0, 0.17.3.2, 0.18.0.0, 0.18.1.2 ] + monero: [ 0.18.1.2, 0.18.2.2 ] steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index ceef06d..01e2e7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add `sign` and `verify` methods by @silverpill ([#105](https://github.com/monero-rs/monero-rpc-rs/pull/105)) + +### Changed + +- Bump MSRV to `1.63.0` +- Run test suite against Monero node and wallet `0.18.1.2` and `0.18.2.2` + ## [0.3.2] - 2022-12-13 ### Removed diff --git a/Cargo.toml b/Cargo.toml index c2b4b50..42b467a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ exclude = ["/test"] keywords = ["asynchronous", "net", "monero", "rpc"] license = "Apache-2.0" repository = "https://github.com/monero-rs/monero-rpc-rs" -rust-version = "1.57" +rust-version = "1.63.0" description = "RPC client for Monero daemon and wallet" [dependencies] @@ -18,7 +18,7 @@ fixed-hash = "0.8" hex = "0.4" http = "0.2" jsonrpc-core = "18" -monero = { version = "0.18", features = ["serde"] } +monero = { version = "0.19", features = ["serde"] } reqwest = { version = "0.11", features = ["json", "socks"] } serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/README.md b/README.md index dfe13d2..8baeaa3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Crates.io](https://img.shields.io/crates/v/monero-rpc.svg)](https://crates.io/crates/monero-rpc) [![Documentation](https://docs.rs/monero-rpc/badge.svg)](https://docs.rs/monero-rpc) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![MSRV](https://img.shields.io/badge/MSRV-1.56.1-blue)](https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html) +[![MSRV](https://img.shields.io/badge/MSRV-1.63.0-blue)](https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html) # Monero Daemon & Wallet RPC diff --git a/src/lib.rs b/src/lib.rs index a6272cd..e7dd0e5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Artem Vorotnikov and Monero Rust Contributors +// Copyright 2019-2023 Artem Vorotnikov and Monero Rust Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/models.rs b/src/models.rs index b40b462..777545a 100644 --- a/src/models.rs +++ b/src/models.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Artem Vorotnikov and Monero Rust Contributors +// Copyright 2019-2023 Artem Vorotnikov and Monero Rust Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +// TODO: remove this when clippy error goes away... +#![allow(clippy::incorrect_clone_impl_on_copy_type)] + use crate::util::*; use chrono::prelude::*; use monero::{ diff --git a/src/util.rs b/src/util.rs index bf50d66..9cd8b86 100644 --- a/src/util.rs +++ b/src/util.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Artem Vorotnikov and Monero Rust Contributors +// Copyright 2019-2023 Artem Vorotnikov and Monero Rust Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/rpc.rs b/tests/rpc.rs index 3a681a4..549a6ac 100644 --- a/tests/rpc.rs +++ b/tests/rpc.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Artem Vorotnikov and Monero Rust Contributors +// Copyright 2019-2023 Artem Vorotnikov and Monero Rust Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.