spiffe-rs 0.1.0

Rust port of spiffe-go with SPIFFE IDs, bundles, SVIDs, Workload API client, federation helpers, and rustls-based SPIFFE TLS utilities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod charset;
mod errors;
mod id;
mod matcher;
mod path;
mod require;
mod trustdomain;

pub use errors::{Error, Result};
pub use id::{ID, SpiffeUrl};
pub use matcher::{match_any, match_id, match_member_of, match_one_of, Matcher, MatcherError};
pub use path::{format_path, join_path_segments, validate_path, validate_path_segment};
pub use require::{
    require_format_path, require_from_path, require_from_pathf, require_from_segments,
    require_from_string, require_from_stringf, require_from_uri, require_join_path_segments,
    require_trust_domain_from_string, require_trust_domain_from_uri,
};
pub use trustdomain::{trust_domain_from_string, trust_domain_from_uri, TrustDomain};