Unable to find crate that is listed in [build-dependencies] section
问题 I try to compile my project with the command cargo build . build.rs extern crate csv; use std::path::Path; use std::fs::OpenOptions; use std::io::BufWriter; use std::io::Write; #[allow(non_snake_case)] fn processCSV(filename: &str, sourcePath: &str, enumName: &str) { println!("Generate rust source code from schema {}",filename); let mut ret: Vec<String> = Vec::new(); let mut rdr = csv::Reader::from_file(filename).unwrap().flexible(true); for record in rdr.records().map(|r| r.unwrap()) { } let