Skip to content

Commit

Permalink
Bump the minor-changes group across 1 directory with 3 updates (#70)
Browse files Browse the repository at this point in the history
Bumps the minor-changes group with 3 updates in the / directory:
[secrecy](https://github.com/iqlusioninc/crates),
[insta](https://github.com/mitsuhiko/insta) and
[serde](https://github.com/serde-rs/serde).

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Ostrovski <[email protected]>
  • Loading branch information
dependabot[bot] and slowli authored Sep 22, 2024
1 parent e8f15c1 commit 848b955
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 75 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

env:
msrv: 1.70.0
nightly: nightly-2023-09-09
nightly: nightly-2024-07-05

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
Expand All @@ -29,7 +29,7 @@ jobs:
version: "^0.16"

- name: Cache cargo build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -52,15 +52,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.msrv }}

- name: Cache cargo build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-msrv-cargo-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
Expand All @@ -86,7 +86,7 @@ jobs:
targets: thumbv7m-none-eabi

- name: Cache cargo build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-nostd-cargo-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -106,15 +106,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Cache cargo build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-document-cargo-${{ hashFiles('**/Cargo.lock') }}
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

### Changed

- Update `secrecy` version to 0.10; change `Secret` to `SecretBox` accordingly, and make `Seed` a struct
instead of a type alias.
- Bump MSRV to 1.70.

## 0.5.0 - 2022-07-21
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repository = "https://github.com/slowli/secret-tree"
# Public dependencies (present in the API exposed by the crate).
rand_core = { version = "0.6.4", default-features = false }
rand_chacha = { version = "0.3.0", default-features = false }
secrecy = { version = "0.8.0", default-features = false }
secrecy = { version = "0.10.1", default-features = false }

# Private dependencies.
blake2 = { version = "0.10.0", default-features = false }
Expand All @@ -28,7 +28,7 @@ const-decoder = "0.3.0"
doc-comment = "0.3.3"
ed25519 = { package = "ed25519-dalek", version = "2" }
hex = "0.4.2"
insta = { version = "1.39.0", features = ["yaml"] }
insta = { version = "1.40.0", features = ["yaml"] }
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8.2"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ Basic usage:
```rust
use secret_tree::{SecretTree, Name};
use rand::{Rng, thread_rng};
use secrecy::Secret;
use secrecy::SecretBox;

let tree = SecretTree::new(&mut thread_rng());
// Create 2 children from the tree: an ordinary secret
// and a CSPRNG with a fixed seed.
let secret: Secret<[u8; 32]> = tree
let secret: SecretBox<[u8; 32]> = tree
.child(Name::new("secret"))
.create_secret();
let other_secret_rng = tree
Expand Down
4 changes: 2 additions & 2 deletions examples/ed25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
use ed25519::SigningKey;
use rand::thread_rng;
use secrecy::{ExposeSecret, Secret};
use secrecy::{ExposeSecret, SecretBox};
use secret_tree::{Name, SecretTree};

use std::fmt;

struct Keys {
consensus_keys: SigningKey,
service_keys: SigningKey,
other_secrets: Vec<Secret<u128>>,
other_secrets: Vec<SecretBox<u128>>,
}

impl Keys {
Expand Down
Loading

0 comments on commit 848b955

Please sign in to comment.