1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//! This library provides auto-renewed tokens for GCP service authentication. //! //! # Example //! ```no_run //! use gouth::Token; //! //! let token = Token::new().unwrap(); //! println!("authorization: {}", token.header_value().unwrap()); //! ``` mod error; mod source; mod token; #[cfg(feature = "tonic-intercept")] pub mod tonic; pub use error::{Error, ErrorKind, Result}; pub use token::{Builder, Token};