[package]
edition = "2024"
rust-version = "1.88"
name = "datagrid-core"
version = "0.13.0"
authors = ["Marius Linnartz"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-agnostic sorting, filtering, paging, selection and virtualization logic for data grids."
readme = "README.md"
keywords = [
"datagrid",
"table",
"sorting",
"filtering",
"virtualization",
]
categories = [
"gui",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dioxus-datagrid/dioxus-datagrid"
[features]
chrono = ["dep:chrono"]
default = []
serde = [
"dep:serde",
"chrono?/serde",
]
[lib]
name = "datagrid_core"
path = "src/lib.rs"
[[test]]
name = "cell_range"
path = "tests/cell_range.rs"
[[test]]
name = "cell_value"
path = "tests/cell_value.rs"
[[test]]
name = "checkbox"
path = "tests/checkbox.rs"
[[test]]
name = "column_order"
path = "tests/column_order.rs"
[[test]]
name = "column_width"
path = "tests/column_width.rs"
[[test]]
name = "detail"
path = "tests/detail.rs"
[[test]]
name = "editing"
path = "tests/editing.rs"
[[test]]
name = "export"
path = "tests/export.rs"
[[test]]
name = "filter_ops"
path = "tests/filter_ops.rs"
[[test]]
name = "filtering"
path = "tests/filtering.rs"
[[test]]
name = "grid_state"
path = "tests/grid_state.rs"
[[test]]
name = "grouping"
path = "tests/grouping.rs"
[[test]]
name = "header"
path = "tests/header.rs"
[[test]]
name = "invariants"
path = "tests/invariants.rs"
[[test]]
name = "navigation"
path = "tests/navigation.rs"
[[test]]
name = "remote"
path = "tests/remote.rs"
[[test]]
name = "row_order"
path = "tests/row_order.rs"
[[test]]
name = "selection"
path = "tests/selection.rs"
[[test]]
name = "sorting"
path = "tests/sorting.rs"
[[test]]
name = "span"
path = "tests/span.rs"
[[test]]
name = "tsv"
path = "tests/tsv.rs"
[[test]]
name = "virtualization"
path = "tests/virtualization.rs"
[[bench]]
name = "compute_view"
path = "benches/compute_view.rs"
harness = false
[dependencies.chrono]
version = "0.4.45"
features = ["alloc"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.7.0"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "1.7"
[dev-dependencies.serde_json]
version = "1.0.151"
[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"