Docs.rs
infraqueue-lib-0.1.1
infraqueue-lib 0.1.1
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
helloimalemur
Dependencies
anyhow ^1.0.98
normal
chrono ^0.4.41
normal
deadpool-redis ^0.22.0
normal
env_logger ^0.11.5
normal
log ^0.4.22
normal
reqwest ^0.12
normal
serde ^1.0.219
normal
serde_json ^1.0.142
normal
uuid ^1.17.0
normal
Versions
34.09%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module config
infraqueue_
lib
0.1.1
Module config
Module Items
Functions
In crate infraqueue_
lib
infraqueue_lib
Module
config
Copy item path
Source
Functions
ยง
env_f64
Read an environment variable as f64 with a default fallback. Returns
default
if the var is missing or cannot be parsed.
env_u32
Read an environment variable as u32 with a default fallback. Returns
default
if the var is missing or cannot be parsed.
env_u64
Read an environment variable as u64 with a default fallback. Returns
default
if the var is missing or cannot be parsed.
env_
var_
or_
file
Read a configuration value from either a direct environment variable
NAME
or from a file path specified via
NAME_FILE
. If both are set,
NAME
takes precedence. Returns
Some(value)
if found, otherwise
None
.
env_
var_
or_
file_
required
Same as
env_var_or_file
, but returns an error message when not found.