Environment lookup, injected so tests don't have to mutate the real process environment.
| 126 | /// Environment lookup, injected so tests don't have to mutate the real |
| 127 | /// process environment. |
| 128 | pub trait EnvLookup { |
| 129 | fn var(&self, key: &str) -> Option<String>; |
| 130 | } |
| 131 | |
| 132 | /// Production implementation backed by `std::env`. |
| 133 | pub struct StdEnv; |
nothing calls this directly
no outgoing calls
no test coverage detected