5 releases
0.1.5 | Jan 25, 2023 |
---|---|
0.1.3 | Jan 25, 2023 |
0.1.2 | Jan 25, 2023 |
0.1.1 | Jan 25, 2023 |
0.1.0 | Jan 25, 2023 |
#16 in #cells
14KB
278 lines
xlsx_writer
use xlsx_writer::*;
fn main(){
let xlsx_path = format!("{}{}{}",std::env::current_dir().unwrap().display().to_string(),"/","test.xlsx").replace("\\","/");
let mut cells = Vec::new();
let c = Cell::default().set_pos(1,1).set_content("_test");
cells.push(c);
let sheet1 =Sheet::default()
.set_name("test_sheet")
.set_cells(cells);
let mut xlsx = Xlsx::default().add_sheet(sheet1).set_path(xlsx_path);
xlsx.write_xlsx();
while xlsx.is_write(){
xlsx.update();
}
xlsx.open_xlsx();
}
Dependencies
~5MB
~148K SLoC