()
| 21 | } |
| 22 | |
| 23 | pub fn load_formats() -> IndexMap<&'static str, Box<dyn Format>> { |
| 24 | let mut formats: IndexMap<&'static str, Box<dyn Format>> = IndexMap::new(); |
| 25 | formats.insert(JsonId, Box::new(JsonFormat {})); |
| 26 | formats.insert(CsvId, Box::new(CsvFormat::default())); |
| 27 | |
| 28 | formats |
| 29 | } |
| 30 | |
| 31 | #[allow(clippy::borrowed_box)] |
| 32 | pub fn guess_format<'a>( |
no outgoing calls
no test coverage detected
searching dependent graphs…