Skip to content

Commit 37f4425

Browse files
authored
Release v0.0.6 (#22)
* Bump crate version to 0.0.6 * Minor docs fixes Signed-off-by: Alexander Sukhachev <[email protected]>
1 parent ed88931 commit 37f4425

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "sd-jwt-rs"
3-
version = "0.0.5"
3+
version = "0.0.6"
44
edition = "2021"
55
license = "Apache-2.0 OR MIT"
6-
description = "Rust reference implementation of the IETF SD-JWT specification (v6)."
7-
rust-version = "1.74.0"
6+
description = "Rust reference implementation of the IETF SD-JWT specification (v7)."
7+
rust-version = "1.67.0"
88
authors = ["Sergey Minaev <[email protected]>"]
99
repository = "https://github.com/openwallet-foundation-labs/sd-jwt-rust"
10+
documentation = "https://docs.rs/sd-jwt-rs"
1011
homepage = "https://github.com/openwallet-foundation-labs/sd-jwt-rust"
1112

1213
[features]

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Proposals about API improvements are highly appreciated.
1212
```rust
1313
fn demo() {
1414
let mut issuer = SDJWTIssuer::new(issuer_key, None);
15-
let sd_jwt = issuer.issue_sd_jwt(claims, ClaimsForSelectiveDisclosureStrategy::AllLevels, holder_key, add_decoy, "compact".to_owned()).unwrap();
15+
let sd_jwt = issuer.issue_sd_jwt(claims, ClaimsForSelectiveDisclosureStrategy::AllLevels, holder_key, add_decoy, SDJWTSerializationFormat::Compact).unwrap();
1616

17-
let mut holder = SDJWTHolder::new(sd_jwt, "compact".to_owned()).unwrap();
17+
let mut holder = SDJWTHolder::new(sd_jwt, SDJWTSerializationFormat::Compact).unwrap();
1818
let presentation = holder.create_presentation(claims_to_disclosure, None, None, None, None).unwrap();
1919

20-
let verified_claims = SDJWTVerifier::new(presentation, cb_to_resolve_issuer_key, None, None, "compact".to_owned()).unwrap()
20+
let verified_claims = SDJWTVerifier::new(presentation, cb_to_resolve_issuer_key, None, None, SDJWTSerializationFormat::Compact).unwrap()
2121
.verified_claims;
2222
}
2323
```
@@ -40,7 +40,7 @@ cargo test
4040
```
4141

4242
### Interoperability testing tool
43-
Coming soon (planned for v0.0.6)
43+
Coming soon (planned for v0.0.7)
4444

4545
## External Dependencies
4646

0 commit comments

Comments
 (0)