[package]
edition = "2024"
rust-version = "1.88"
name = "datagrid-export"
version = "0.13.1"
authors = ["Marius Linnartz"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Writes a data grid's rows as CSV, Excel or an HTML table to print, from the table datagrid-core builds."
readme = "README.md"
keywords = [
"datagrid",
"table",
"export",
"csv",
"xlsx",
]
categories = [
"data-structures",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dioxus-datagrid/dioxus-datagrid"
[features]
chrono = ["datagrid-core/chrono"]
csv = []
default = [
"csv",
"html",
]
html = []
xlsx = ["dep:rust_xlsxwriter"]
[lib]
name = "datagrid_export"
path = "src/lib.rs"
[[test]]
name = "csv"
path = "tests/csv.rs"
[[test]]
name = "html"
path = "tests/html.rs"
[[test]]
name = "xlsx"
path = "tests/xlsx.rs"
[dependencies.datagrid-core]
version = "0.13.1"
[dependencies.rust_xlsxwriter]
version = "0.100"
optional = true
[dev-dependencies.chrono]
version = "0.4.45"
default-features = false
[dev-dependencies.zip]
version = "9"
features = ["deflate-flate2-zlib-rs"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.rust_xlsxwriter]
version = "0.100"
features = ["wasm"]
optional = true
[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"