use xlsx_split::core::XlsxSplit; #[test] fn test_split() { let src = "/home/feiy/Desktop/test.xlsx"; // 从第4行开始为数据 let data_start_row = 4; // 按照为B列内容进行分割拆分 let group_col = "B"; let out_dirs = XlsxSplit::split( src, data_start_row, group_col, Some("/home/feiy/Desktop/out"), #[cfg(feature = "encrypt")] Some("abc95599"), ) .unwrap(); println!("{:#?}", out_dirs); }