[package]
edition = "2024"
name = "rstared"
version = "0.14.2"
authors = ["Mikolaj Wielgus <wielgusmikolaj@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple decorator that adds rstar::RTree to arbitrary collections."
documentation = "https://docs.rs/rstared"
readme = "README.md"
keywords = [
"rtree",
"no_std",
]
categories = [
"data-structures",
"game-development",
"gui",
"no-std",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mikwielgus/rstared"
[package.metadata.docs.rs]
cargo-args = [
"--all-features",
"-Zunstable-options",
"-Zrustdoc-scrape-examples",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
arrayvec = ["maplike/arrayvec"]
bidimap = ["maplike/bidimap"]
default = ["std"]
geo = ["maplike/geo"]
indexmap = ["maplike/indexmap"]
smallvec = ["maplike/smallvec"]
stable-vec = ["maplike/stable-vec"]
std = ["maplike/std"]
thunderdome = ["maplike/thunderdome"]
tinyvec = ["maplike/tinyvec"]
undoredo = ["dep:undoredo"]
[lib]
name = "rstared"
path = "src/lib.rs"
[[example]]
name = "hashmap"
path = "examples/hashmap.rs"
doc-scrape-examples = true
required-features = ["std"]
[[example]]
name = "multipolygon"
path = "examples/multipolygon.rs"
doc-scrape-examples = true
required-features = ["geo"]
[[example]]
name = "undoredo"
path = "examples/undoredo.rs"
doc-scrape-examples = true
required-features = [
"undoredo",
"std",
]
[[example]]
name = "vec"
path = "examples/vec.rs"
doc-scrape-examples = true
[[test]]
name = "rtreed"
path = "tests/rtreed.rs"
[[test]]
name = "undoredo"
path = "tests/undoredo.rs"
[dependencies.maplike]
version = "0.14"
features = [
"alloc",
"rstar",
]
default-features = false
[dependencies.rstar]
version = "0.13"
[dependencies.undoredo]
version = "0.14"
features = ["rstar"]
optional = true
default-features = false
[dev-dependencies.geo-types]
version = "0.7"
features = ["rstar_0_13"]
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.stable-vec]
version = "0.4"
[dev-dependencies.thunderdome]
version = "0.6"