spire_api/
lib.rs

1#![deny(missing_docs)]
2#![warn(missing_debug_implementations)]
3
4//! This library provides functions to interact with the SPIRE GRPC APIs as defined in the [SDK](https://github.com/spiffe/spire-api-sdk).
5
6mod proto {
7    #![allow(clippy::all)]
8    pub mod spire {
9        pub mod api {
10            pub mod agent {
11                pub mod delegatedidentity {
12                    pub mod v1 {
13                        include!(concat!(
14                            env!("OUT_DIR"),
15                            "/spire.api.agent.delegatedidentity.v1.rs"
16                        ));
17                    }
18                }
19            }
20
21            pub mod types {
22                include!(concat!(env!("OUT_DIR"), "/spire.api.types.rs"));
23            }
24        }
25    }
26}
27
28pub mod agent;
29pub mod selectors;
30
31// Core spire-api crate type re-exported for simplified access.
32pub use agent::delegated_identity::{DelegateAttestationRequest, DelegatedIdentityClient};