keyhog-sources 0.5.43

keyhog-sources: pluggable input backends for KeyHog (git, S3, GCS, Azure Blob, Docker, Web)
Documentation
//! Shared timeouts for remote / subprocess sources (avoid magic-number drift).

/// Typical HTTP(S) request timeout (web fetch, Slack API, S3/GCS REST).
#[cfg(any(
    feature = "azure",
    feature = "web",
    feature = "slack",
    feature = "s3",
    feature = "github",
    feature = "gitlab",
    feature = "bitbucket",
    feature = "gcs"
))]
pub(crate) const HTTP_REQUEST: std::time::Duration = std::time::Duration::from_secs(30);

/// Shallow `git clone` for org scans (and other long-running subprocess work).
#[cfg(any(feature = "github", feature = "gitlab", feature = "bitbucket"))]
pub(crate) const GIT_CLONE: std::time::Duration = std::time::Duration::from_secs(300);

/// Ghidra `analyzeHeadless` wall-clock budget.
#[cfg(feature = "binary")]
pub(crate) const GHIDRA_ANALYSIS: std::time::Duration = std::time::Duration::from_secs(300);

/// Docker `image save` wall-clock budget.
#[cfg(feature = "docker")]
pub(crate) const DOCKER_EXPORT: std::time::Duration = std::time::Duration::from_secs(300);