Crates.io | csvquery |
lib.rs | csvquery |
version | 0.3.1 |
source | src |
created_at | 2021-02-27 20:54:23.246106 |
updated_at | 2021-03-24 16:04:29.384052 |
description | Engine for making key-value queries in csv file |
homepage | |
repository | https://github.com/VictorBulba/csvquery |
max_upload_size | |
id | 361554 |
size | 8,664 |
let opts = EngineOptions::default();
let mut engine: Engine<String, YourType> = Engine::from_file_with_opts("file.csv", YourType::make_key, opts).unwrap();
let value = engine.get_from_file("key");
println!("{:?}", value);