(a: D, path: &str)
| 110 | } |
| 111 | |
| 112 | pub fn write_json<D>(a: D, path: &str) |
| 113 | where |
| 114 | D: Serialize, |
| 115 | { |
| 116 | use std::io::Write; |
| 117 | |
| 118 | let mut f0 = std::fs::File::create(path).unwrap(); |
| 119 | |
| 120 | writeln!(f0, "{}", serde_json::to_string(&a).unwrap()).unwrap(); |
| 121 | } |
| 122 | |
| 123 | pub fn init_test_tracing() { |
| 124 | let data_filter = EnvFilter::builder() |
nothing calls this directly
no outgoing calls
no test coverage detected