# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95"
name = "smix-selector-resolver"
version = "0.3.1"
authors = ["Golia <doracawl@golia.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "smix-selector-resolver — DFS pre-order + visibility filter + spatial filter (near/below/above/leftOf/rightOf/inside) + index pick (nth/first/last) + anchor-only base form short-circuit (stone, hot path). Ported from now-retired TS source: src/core/resolve-selector.ts (279 lines, v1.5 c5i-d + v1.6 c4 lock-in)."
homepage = "https://github.com/goliajp/smix"
documentation = "https://docs.rs/smix-selector-resolver"
readme = "README.md"
keywords = [
    "selector",
    "resolver",
    "dfs",
    "ios",
    "spatial",
]
categories = ["development-tools::testing"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/smix"

[lib]
name = "smix_selector_resolver"
path = "src/lib.rs"

[[example]]
name = "dhat_profile"
path = "examples/dhat_profile.rs"

[[test]]
name = "perf_gate"
path = "tests/perf_gate.rs"

[[test]]
name = "resolve_compiled"
path = "tests/resolve_compiled.rs"

[[test]]
name = "resolver"
path = "tests/resolver.rs"

[[bench]]
name = "perf_gate"
path = "benches/perf_gate.rs"
harness = false

[[bench]]
name = "resolver"
path = "benches/resolver.rs"
harness = false

[dependencies.smix-screen]
version = "0.3.1"

[dependencies.smix-selector]
version = "0.3.1"

[dev-dependencies.criterion]
version = "0.7"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.dhat]
version = "0.3"

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
result_large_err = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
warnings = "deny"
