Skip to content

Commit

Permalink
1.74.0 through the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Diane Huxley committed Aug 21, 2024
1 parent b6fc562 commit aa422f5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ setup:
git submodule update --init --recursive
fi
if [[ "$(cargo 2>&1)" == *"rustup could not choose a version of cargo to run"* ]]; then
rustup default 1.80.0
rustup default 1.74.0
rustup target add aarch64-apple-darwin
fi

Expand Down
2 changes: 1 addition & 1 deletion crates/web5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
homepage.workspace = true
repository.workspace = true
license-file.workspace = true
rust-version = "1.70.0"
rust-version = "1.74.0"

[dependencies]
base64 = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions crates/web5/rust-toolchain.toml

This file was deleted.

6 changes: 3 additions & 3 deletions crates/web5/src/credentials/verifiable_credential_1_1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@ mod tests {
use crate::json::JsonValue;
use regex::Regex;
use std::collections::HashMap;
use std::sync::LazyLock;

const ISSUER_DID_URI: &str = "did:web:tbd.website";
const SUBJECT_DID_URI: &str = "did:dht:qgmmpyjw5hwnqfgzn7wmrm33ady8gb8z9ideib6m9gj4ys6wny8y";
Expand All @@ -562,8 +561,9 @@ mod tests {
use super::*;
use crate::{test_helpers::UnitTestSuite, test_name};

static TEST_SUITE: LazyLock<UnitTestSuite> =
LazyLock::new(|| UnitTestSuite::new("verifiable_credential_1_1_create"));
lazy_static::lazy_static! {
static ref TEST_SUITE: UnitTestSuite = UnitTestSuite::new("verifiable_credential_1_1_create");
}

#[test]
fn z_assert_all_suite_cases_covered() {
Expand Down
8 changes: 4 additions & 4 deletions crates/web5/src/dids/did.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ mod tests {
use super::*;

mod new {
use std::sync::LazyLock;

use super::*;
use crate::{test_helpers::UnitTestSuite, test_name};

static TEST_SUITE: LazyLock<UnitTestSuite> =
LazyLock::new(|| UnitTestSuite::new("did_parse"));
lazy_static::lazy_static! {
static ref TEST_SUITE: UnitTestSuite =
UnitTestSuite::new("did_parse");
}

#[test]
fn z_assert_all_suite_cases_covered() {
Expand Down
1 change: 0 additions & 1 deletion crates/web5/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ pub mod rfc3339;
mod test_helpers;
#[cfg(test)]
mod test_vectors;

0 comments on commit aa422f5

Please sign in to comment.