[dependencies.reflectapi]
default-features = false
features = []
optional = true
version = "0.16"
[dependencies.serde]
default-features = false
features = []
optional = true
version = "1"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.http]
version = "1"
[dev-dependencies.insta]
features = ["json"]
version = "1.18.0-alpha.1"
[dev-dependencies.proptest]
version = "1.9.0"
[dev-dependencies.reflectapi]
features = ["builder", "codegen", "axum", "rt"]
version = "0.16"
[dev-dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls"]
version = "0.12"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "time"]
version = "1"
[features]
default = []
high_precision = []
reflectapi = ["dep:reflectapi", "serde"]
serde = ["dep:serde"]
[lib]
name = "hotspots"
path = "src/lib.rs"
[package]
authors = ["Josiah Bull <josiah.bull7@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "graphics", "data-structures"]
description = "A lightweight Rust library for working with 2D rectangular hotspots with support for pixel and percentage-based coordinates"
documentation = "https://docs.rs/hotspots"
edition = "2024"
exclude = [".github/*", "proptest-regressions/*"]
homepage = "https://github.com/josiahbull/hotspots"
keywords = ["hotspot", "coordinates", "rectangle", "geometry", "2d"]
license = "MIT OR Apache-2.0"
name = "hotspots"
readme = "README.md"
repository = "https://github.com/josiahbull/hotspots"
version = "0.2.0"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
[[test]]
name = "generated_client"
path = "tests/generated_client.rs"
[[test]]
name = "reflectapi_integration"
path = "tests/reflectapi_integration.rs"