mairu 0.10.0

on-memory AWS credentials agent and executor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_prost_build::configure()
        .message_attribute("mairu.Credentials", "#[derive(zeroize::ZeroizeOnDrop)]")
        .field_attribute("mairu.Credentials.expiration", "#[zeroize(skip)]")
        .message_attribute("mairu.ExecEnvVar", "#[derive(zeroize::ZeroizeOnDrop)]")
        .message_attribute("mairu.ListRolesResponse", "#[derive(serde::Serialize)]")
        .message_attribute(
            "mairu.ListRolesResponse.Item",
            "#[derive(serde::Serialize)]",
        )
        .message_attribute(
            "mairu.ListRolesResponse.Item.Role",
            "#[derive(serde::Serialize)]",
        )
        .compile_protos(&["proto/mairu.proto"], &["proto"])?;
    Ok(())
}