Skip to main content

Module core

Module core 

Source
Expand description

grr-core — the engine behind the grr CLI.

Service-agnostic: OAuth (keyring-backed), zero-config HTTP transport with HTTP/3 and rate-limit-aware retry, config, and runtime probes. The CLI’s command surface is generated from the embedded Discovery index (crate::discovery), not from typed per-service clients.

  • HTTP/3 with QUIC (via reqwest unstable), always compiled
  • Auto-tuned transport: zero config, adaptive pooling and backoff
  • OS-keyring token storage with file fallback

Re-exports§

pub use auth::DeviceAuthChallenge;
pub use auth::GoogleAuth;
pub use auth::TokenStorage;
pub use config::GrrConfig;
pub use config::OAuthConfig;
pub use config_loader::ConfigLoader;
pub use error::GrrError;
pub use error::Result;
pub use http::HttpCore;
pub use http::TransportInfo;
pub use http::apply_transport_version;
pub use runtime::RuntimeFeatures;
pub use runtime::detect_runtime_features;

Modules§

auth
OAuth2 authentication: PKCE loopback flow (RFC 8252) with an RFC 8628 device-flow fallback, tokens in the OS keyring.
config
Configuration types for grr-core.
config_loader
Configuration loading with TOML file and environment variable support
error
Error types for grr-core
http
Service-agnostic HTTP core: the transport probe behind grr transport, and the request-execution engine (execute plus the verb builders) it hosts.
runtime