Skip to content

Commit

Permalink
Chore: headers and deps (#114)
Browse files Browse the repository at this point in the history
* chore: update year in headers

* chore: bump monero dependency to 0.19

* chore: bump msrv to version 1.63.0

* ci: test against latest versions of monero only

* style: remove unnecessary clippy issue

* chore: update changelog
  • Loading branch information
h4sh3d committed Sep 15, 2023
1 parent 321993d commit 1bddcf9
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 11 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 4 additions & 1 deletion src/models.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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::{
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tests/rpc.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 1bddcf9

Please sign in to comment.