Skip to content

Commit

Permalink
Use ssi version 0.10.1 (#7)
Browse files Browse the repository at this point in the history
* Set MSRV to 1.80.0
  • Loading branch information
timothee-haudebourg authored Nov 25, 2024
1 parent 372ff39 commit 1c43d65
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "w3c-vc-barcodes"
version = "0.1.0"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.80.0"

[dependencies]
iref = { version = "3.1.4", features = ["serde"] }
static-iref = "3.0.0"
lazy_static = "1.5.0"
serde = { version = "1.0.203", features = ["derive"] }
sha2 = "0.10.8"
ssi = { version = "0.8.1", features = ["secp256r1", "secp384r1"] }
ssi = { version = "0.10.1", features = ["secp256r1", "secp384r1"] }
json-syntax = "0.12.5"
cbor-ld = { git = "https://github.com/spruceid/cbor-ld.git", rev = "74a439a" }
thiserror = "1.0.61"
Expand Down
2 changes: 1 addition & 1 deletion src/optical_barcode_credential/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use ssi::{
JsonLdLoaderProvider, SignatureError,
},
crypto::algorithm::ES256OrES384,
status::bitstring_status_list::BitstringStatusListEntry,
status::bitstring_status_list_20240406::BitstringStatusListEntry,
verification_methods::{MessageSigner, Multikey, Signer, VerificationMethodResolver},
};

Expand Down
2 changes: 1 addition & 1 deletion src/optical_barcode_credential/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use ssi::{
data_integrity::DataIntegrity, DateTimeProvider, JsonLdLoaderProvider,
ProofValidationError, ResolverProvider, ResourceProvider, Verification,
},
status::bitstring_status_list::StatusPurpose,
status::bitstring_status_list_20240406::StatusPurpose,
verification_methods::{Multikey, VerificationMethodResolver},
};

Expand Down
2 changes: 1 addition & 1 deletion src/terse_bitstring_status_list_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
use ssi::{
claims::vc::{MaybeIdentified, Typed},
status::{
bitstring_status_list::{
bitstring_status_list_20240406::{
BitstringStatusListCredential, BitstringStatusListEntry, StatusList, StatusPurpose,
},
client::{MaybeCached, TypedStatusMapProvider},
Expand Down
2 changes: 1 addition & 1 deletion tests/aamva.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use json_syntax::Print;
use lazy_static::lazy_static;
use ssi::{
dids::{AnyDidMethod, DIDResolver},
status::bitstring_status_list::StatusPurpose,
status::bitstring_status_list_20240406::StatusPurpose,
verification_methods::SingleSecretSigner,
JWK,
};
Expand Down
2 changes: 1 addition & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use json_syntax::Parse;
use ssi::{
claims::data_integrity::{DataIntegrity, ProofConfiguration},
status::{
bitstring_status_list::{BitstringStatusListCredential, StatusList, TimeToLive},
bitstring_status_list_20240406::{BitstringStatusListCredential, StatusList, TimeToLive},
client::{MaybeCached, ProviderError, TypedStatusMapProvider},
},
};
Expand Down

0 comments on commit 1c43d65

Please sign in to comment.