Add macos/ios app using rust lib

This commit is contained in:
Piv
2023-02-03 21:29:23 +10:30
parent 1168ca46db
commit 734a19f711
25 changed files with 1265 additions and 8 deletions

View File

@@ -92,7 +92,7 @@ pub struct CsvCost {
pub fn move_money<R, L, O>(
rules_reader: csv::Reader<R>,
lines_reader: csv::Reader<L>,
output: csv::Writer<O>,
output: &mut csv::Writer<O>,
use_numeric_accounts: bool,
) -> anyhow::Result<()>
where
@@ -326,7 +326,7 @@ mod tests {
super::move_money(
csv::Reader::from_path("reclassrule.csv").unwrap(),
csv::Reader::from_path("line.csv").unwrap(),
csv::Writer::from_path("output.csv").unwrap(),
&mut csv::Writer::from_path("output.csv").unwrap(),
true,
);
}