| Crates.io | libxcsv |
| lib.rs | libxcsv |
| version | 0.1.4 |
| created_at | 2025-10-15 19:16:30.25509+00 |
| updated_at | 2025-11-01 19:55:36.970183+00 |
| description | The complimentary core lib for xcsv, a tool to convert Excel worksheets to CSV. |
| homepage | |
| repository | https://github.com/mikkurogue/xcsv |
| max_upload_size | |
| id | 1884829 |
| size | 42,328 |
A lightweight, low-level library for converting Excel (.xlsx) sheets to CSV by stream-parsing the underlying XML.
libxcsv is the core engine for the xcsv CLI tool. It operates by:
.xlsx file as a zip archive (open_zip).workbook.xml (parse_workbook), sharedStrings.xml (read_shared_strings), and styles.xml (parse_styles).export_sheet_xml_to_csv.open_zip(): Opens the .xlsx file.parse_workbook() & parse_workbook_rels(): Reads sheet metadata.read_shared_strings(): Parses the shared string table.parse_styles(): Parses cell styles for date/time formatting.export_sheet_xml_to_csv(): The main function to convert a sheet XML to a CSV file.