Skip to main content

Crate hasp_backend_env

Crate hasp_backend_env 

Source
Expand description

env:// backend for hasp.

Grammar: env://VAR_NAME where the host component is the environment variable name.

Supported operations:

  • get: reads std::env::var(var_name)
  • exists: checks std::env::var(var_name).is_ok()
  • put, list, delete: UnsupportedOperation

Platform-specific failure modes:

  • None (stdlib only). NotFound is returned when the variable is unset.

Structs§

EnvBackend
Stdlib-only backend that reads secrets from environment variables.
EnvUrl
URL shape for env:// addresses.