(value: Option<&str>)
| 329 | |
| 330 | #[cfg(feature = "telemetry")] |
| 331 | fn telemetry_enabled_from(value: Option<&str>) -> bool { |
| 332 | let value = value.unwrap_or("true"); |
| 333 | !matches!( |
| 334 | value.trim().to_ascii_lowercase().as_str(), |
| 335 | "0" | "false" | "no" | "off" |
| 336 | ) |
| 337 | } |
| 338 | |
| 339 | #[cfg(feature = "telemetry")] |
| 340 | fn telemetry_endpoint() -> Option<String> { |
no outgoing calls
no test coverage detected