Cargo Features
rust_xlsxwriter has no features set by default.
[dependencies]
rust_xlsxwriter = { version = "0.64.2", features = ["zlib", "chrono", "polars", "serde", "wasm", "test-resave"] }
- default
-
default
: Includes all the standard functionality. - zlib
-
zlib
: Adds a dependency on zlib and a C compiler. This includes the same features asdefault
but is 1.5x faster for large files.Enables deflate-zlib of zip ^0.6.4
- chrono
-
chrono
: Add support for Chrono dates/times in addition to the native ExcelDateTime types.Enables chrono
- polars
-
polars
: Add support for mapping betweenPolarsError
andrust_xlsxwriter::XlsxError
to make code that handles both types of error easier to write.Enables polars ^0.38.3
- serde
-
serde
: Adds supports for Serde serialization.Enables rust_xlsxwriter_derive and serde
Affects
rust_xlsxwriter::serializer
,utility::serialize_chrono_naive_to_excel
,utility::serialize_chrono_option_naive_to_excel
… - wasm = js-sys, wasm-bindgen
-
wasm
: Enable wasm/Javascript compilation. - test-resave
-
test-resave
: Developer only testing feature.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.