# 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-driver"
version = "1.0.3"
authors = ["Golia <doracawl@golia.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "smix-driver — decide layer (between sense & act). Wraps smix-runner-client with host-side resolve dispatch (tree + resolve + tapAtNormCoord)."
homepage = "https://github.com/goliajp/smix"
documentation = "https://docs.rs/smix-driver"
readme = "README.md"
keywords = [
    "ios",
    "driver",
    "selector",
    "automation",
]
categories = ["development-tools::testing"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/smix"

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.serde_json]
version = "1"

[dependencies.smix-error]
version = "1.0.0"

[dependencies.smix-host-coord-resolver]
version = "1.0.0"

[dependencies.smix-input]
version = "1.0.0"

[dependencies.smix-runner-client]
version = "1.0.0"

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

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

[dependencies.smix-selector-resolver]
version = "1.0.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "io-util",
    "process",
    "time",
    "macros",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "io-util",
    "process",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
result_large_err = "allow"

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

[lints.rust]
warnings = "deny"
