[package]
edition = "2024"
rust-version = "1.85"
name = "datagrid-core"
version = "0.2.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]
default = []
serde = ["dep:serde"]
[lib]
name = "datagrid_core"
path = "src/lib.rs"
[[test]]
name = "filtering"
path = "tests/filtering.rs"
[[test]]
name = "grid_state"
path = "tests/grid_state.rs"
[[test]]
name = "invariants"
path = "tests/invariants.rs"
[[test]]
name = "navigation"
path = "tests/navigation.rs"
[[test]]
name = "selection"
path = "tests/selection.rs"
[[test]]
name = "sorting"
path = "tests/sorting.rs"
[[test]]
name = "virtualization"
path = "tests/virtualization.rs"
[[bench]]
name = "compute_view"
path = "benches/compute_view.rs"
harness = 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"