diff --git a/spire-api/CHANGELOG.md b/spire-api/CHANGELOG.md index 031a164..bc389eb 100644 --- a/spire-api/CHANGELOG.md +++ b/spire-api/CHANGELOG.md @@ -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 diff --git a/spire-api/Cargo.toml b/spire-api/Cargo.toml index aeea5ea..99f227e 100644 --- a/spire-api/Cargo.toml +++ b/spire-api/Cargo.toml @@ -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 "] description = "Rust library for the SPIRE APIs" diff --git a/spire-api/README.md b/spire-api/README.md index 851ea72..fa6a63d 100644 --- a/spire-api/README.md +++ b/spire-api/README.md @@ -14,7 +14,7 @@ Include this line in your `Cargo.toml`: ```toml [dependencies] -spire-api = "0.2.0" +spire-api = "0.3.0" ``` ## Usage @@ -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/). diff --git a/spire-api/spire-api-sdk b/spire-api/spire-api-sdk index 9701b78..c51a5c7 160000 --- a/spire-api/spire-api-sdk +++ b/spire-api/spire-api-sdk @@ -1 +1 @@ -Subproject commit 9701b78b4c3c2e22d866220ba16eb9e8da6eea96 +Subproject commit c51a5c74f10ac08ebec20f341415e9712f007361