**Note, this version contains a major backward incompatible API change where it
restructures the Workbook constructor/destructor sequence and introduces a
`save()` method to replace `close()`.**
Changed
- The [`Workbook::new()`] method no longer takes a filename. Instead the naming
of the file has move to a [`Workbook::save()`] method which replaces
`workbook.close()`.
Added
- Added new methods to get references to worksheet objects used by the workbook:
- [`Workbook::worksheet_from_name()`]
- [`Workbook::worksheet_from_index()`]
- [`Workbook::worksheets_mut()`]
- Made the [`Worksheet::new()`] method public and added the
[`Workbook::push_worksheet()`] to add Worksheet instances to a Workbook. See
also the `rust_xlsxwriter` documentation on [Creating Worksheets] and working
with the borrow checker.
[`Workbook::new()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/workbook/struct.Workbook.html#method.new
[`Worksheet::new()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/worksheet/struct.Worksheet.html#method.new
[`Workbook::save()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/workbook/struct.Workbook.html#method.save
[Creating Worksheets]: https://rustxlsxwriter.github.io/worksheet/create.html
[`Workbook::worksheets_mut()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/workbook/struct.Workbook.html#method.worksheets_mut
[`Workbook::push_worksheet()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/workbook/struct.Workbook.html#method.push_worksheet
[`Workbook::worksheet_from_name()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/workbook/struct.Workbook.html#method.worksheet_from_name
[`Workbook::worksheet_from_index()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/workbook/struct.Workbook.html#method.worksheet_from_index