{"id":14992228,"url":"https://github.com/informationsea/xlsxwriter-rs","last_synced_at":"2025-12-24T09:46:53.121Z","repository":{"id":37677599,"uuid":"222115670","full_name":"informationsea/xlsxwriter-rs","owner":"informationsea","description":"Excel file writer for Rust","archived":false,"fork":false,"pushed_at":"2024-08-18T20:00:08.000Z","size":299,"stargazers_count":268,"open_issues_count":16,"forks_count":47,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-29T12:16:58.441Z","etag":null,"topics":["libxlsxwriter","rust","spreadsheet","xlsx","xlsx-files","xlsxwriter"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/xlsxwriter","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/informationsea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-16T15:03:31.000Z","updated_at":"2024-12-17T13:54:56.000Z","dependencies_parsed_at":"2024-06-19T00:24:18.778Z","dependency_job_id":"62f0bd8a-8b6f-4a12-8947-f46e4b6694fa","html_url":"https://github.com/informationsea/xlsxwriter-rs","commit_stats":{"total_commits":134,"total_committers":19,"mean_commits":7.052631578947368,"dds":"0.27611940298507465","last_synced_commit":"dadbe8a40eab44a429e6fecdb861a622b718116a"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informationsea%2Fxlsxwriter-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informationsea%2Fxlsxwriter-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informationsea%2Fxlsxwriter-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informationsea%2Fxlsxwriter-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/informationsea","download_url":"https://codeload.github.com/informationsea/xlsxwriter-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234200176,"owners_count":18795139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["libxlsxwriter","rust","spreadsheet","xlsx","xlsx-files","xlsxwriter"],"created_at":"2024-09-24T15:00:52.687Z","updated_at":"2025-09-25T14:31:01.489Z","avatar_url":"https://github.com/informationsea.png","language":"Rust","funding_links":[],"categories":["File Processing","Rust"],"sub_categories":[],"readme":"xlsxwriter-rs\n=============\n[![Build](https://github.com/informationsea/xlsxwriter-rs/workflows/Build/badge.svg)](https://github.com/informationsea/xlsxwriter-rs/actions)\n![GitHub](https://img.shields.io/github/license/informationsea/xlsxwriter-rs)\n![GitHub top language](https://img.shields.io/github/languages/top/informationsea/xlsxwriter-rs)\n[![Crates.io](https://img.shields.io/crates/v/xlsxwriter)](https://crates.io/crates/xlsxwriter)\n[![Docs.rs](https://docs.rs/xlsxwriter/badge.svg)](https://docs.rs/xlsxwriter)\n\nRust binding of [libxlsxwriter](https://github.com/jmcnamara/libxlsxwriter)\n\nSupported Features\n------------------\n\n* 100% compatible Excel XLSX files.\n* Full Excel formatting.\n* Merged cells.\n* Autofilters.\n* Data validation and drop down lists.\n* Worksheet PNG/JPEG images.\n\nComing soon\n\n* Charts.\n\nFeature Flags\n-------------\n\n* `no-md5`: Disable image de-duplication and remove md5 function. (See [upstream document](https://github.com/jmcnamara/libxlsxwriter/blob/dcf8d418dba726d2ee123fb111a3174e67b15f6b/docs/src/getting_started.dox#L639) to learn more).\n* `use-openssl-md5`: Use OpenSSL implementation of md5 function. (See [upstream document](https://github.com/jmcnamara/libxlsxwriter/blob/dcf8d418dba726d2ee123fb111a3174e67b15f6b/docs/src/getting_started.dox#L629) to learn more).\n* `system-zlib`: Use system zlib instead of included zlib.\n\nBuild requirements\n------------------\n\n* LLVM and clang\n\n### How to build on windows\n\n1. Install Visual Studio\n2. Install [LLVM](https://llvm.org/)\n3. Set environment variable `LIBCLANG_PATH` as `C:\\Program Files\\LLVM\\bin`\n4. Run build\n\nExample\n-------\n\n![Result Image](images/simple1.png)\n\n```rust\nlet workbook = Workbook::new(\"simple1.xlsx\")?;\n\nlet mut sheet1 = workbook.add_worksheet(None)?;\nsheet1.write_string(0, 0, \"Red text\", Some(\u0026Format::new().set_font_color(FormatColor::Red)))?;\nsheet1.write_number(0, 1, 20., None)?;\nsheet1.write_formula_num(1, 0, \"=10+B1\", None, 30.)?;\nsheet1.write_url(\n    1,\n    1,\n    \"https://github.com/informationsea/xlsxwriter-rs\",\n    Some(\u0026Format::new().set_font_color(FormatColor::Blue).set_underline(FormatUnderline::Single)),\n)?;\nsheet1.merge_range(2, 0, 3, 2, \"Hello, world\", Some(\n    \u0026Format::new().set_font_color(FormatColor::Green).set_align(FormatAlignment::CenterAcross)\n                  .set_vertical_align(FormatVerticalAlignment::VerticalCenter)))?;\n\nsheet1.set_selection(1, 0, 1, 2);\nsheet1.set_tab_color(FormatColor::Cyan);\nworkbook.close()?;\n```\n\nRun Example with Cargo\n-------\nYou can explore this example locally following the steps below:\n\n1. Install LLVM and set LIBCLANG_PATH if you are using windows. (see [bindgen doc](https://rust-lang.github.io/rust-bindgen/requirements.html#clang) for details)\n2. clone or fork this repository\n3. `git submodule update --init --recursive`\n    - The above command downloads the required C library so we can compile\n4. `cargo run --example hello_spreadsheet`\n\nYou should then see the example in `target/simple1.xlsx`. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformationsea%2Fxlsxwriter-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformationsea%2Fxlsxwriter-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformationsea%2Fxlsxwriter-rs/lists"}