Skip to content

Commit

Permalink
Prepare Release spire-api-v0.3.0 (#99)
Browse files Browse the repository at this point in the history
Prepare release spire-api-v0.3.0

Signed-off-by: Max Lambrecht <[email protected]>
  • Loading branch information
maxlambrecht authored Sep 12, 2024
1 parent d88a434 commit db91816
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions spire-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.3.0] - 2024-09-12

- Update Rust Edition to 2021 (#82)
- Enhance Usability with Core Type Re-exports (#83)
- Sync delegate api changes + `spire-api-sdk` bump to 1.10.2 (#96)

## [0.2.0] - 2024-03-07

### Dependencies updates
Expand Down
2 changes: 1 addition & 1 deletion spire-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "spire-api"
# When releasing to crates.io:
# - Update CHANGELOG.md.
# - Create a new tag
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = ["Max Lambrecht <[email protected]>"]
description = "Rust library for the SPIRE APIs"
Expand Down
6 changes: 4 additions & 2 deletions spire-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Include this line in your `Cargo.toml`:

```toml
[dependencies]
spire-api = "0.2.0"
spire-api = "0.3.0"
```

## Usage
Expand All @@ -26,7 +26,9 @@ use spire_api::DelegatedIdentityClient;

let client = DelegatedIdentityClient::default().await?;

let x509_svid = client.fetch_x509_svid(vec![selectors::Selector::Unix(selectors::Unix::Uid(1000))]).await?;
let x509_svid = client.fetch_x509_svid(DelegateAttestationRequest::Selectors(vec![
selectors::Selector::Unix(selectors::Unix::Uid(1000)),
])).await?;
```

For more documentation, refer to the `spire-api` [crate documentation](https://docs.rs/spire-api/).
Expand Down

0 comments on commit db91816

Please sign in to comment.