()
| 297 | |
| 298 | #[cfg(feature = "telemetry")] |
| 299 | pub fn enabled() -> bool { |
| 300 | telemetry_enabled_from(std::env::var("OPENSHELL_TELEMETRY_ENABLED").ok().as_deref()) |
| 301 | } |
| 302 | |
| 303 | /// Telemetry support is compiled out: always disabled. |
| 304 | #[cfg(not(feature = "telemetry"))] |
no test coverage detected