[package]
edition = "2024"
rust-version = "1.98.1"
name = "icedwright-probe"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "What an iced app links for icedwright: semantic annotations, typed test ids and named tasks, all pass-through unless a feature turns them on"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sam-ruff/icedwright"
[features]
control = ["dep:pin-project-lite"]
os-keyboard = [
"remote",
"dep:x11rb",
]
remote = [
"semantics",
"control",
"dep:iced_program",
"dep:iced_winit",
"dep:serde_json",
"dep:futures",
"dep:serde",
"dep:rustix",
]
remote-in-release = ["remote"]
semantics = ["dep:icedwright-protocol"]
[lib]
name = "icedwright_probe"
path = "src/lib.rs"
[[test]]
name = "annotation"
path = "tests/annotation.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
test = false
[[test]]
name = "control"
path = "tests/control.rs"
[[test]]
name = "derives"
path = "tests/derives.rs"
[[test]]
name = "hit"
path = "tests/hit.rs"
[[test]]
name = "recorder"
path = "tests/recorder.rs"
[[test]]
name = "tasks"
path = "tests/tasks.rs"
[dependencies.futures]
version = "0.3.34"
optional = true
[dependencies.iced_core]
version = "0.14"
default-features = false
[dependencies.iced_program]
version = "0.14"
optional = true
default-features = false
[dependencies.iced_winit]
version = "0.14"
optional = true
[dependencies.icedwright-probe-macros]
version = "=0.1.4"
[dependencies.icedwright-protocol]
version = "0.1.4"
optional = true
[dependencies.icedwright-types]
version = "0.1.4"
features = ["iced"]
[dependencies.pin-project-lite]
version = "0.2.18"
optional = true
[dependencies.rustix]
version = "1.1.6"
features = [
"std",
"net",
"process",
"fs",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.229"
optional = true
[dependencies.serde_json]
version = "1.0.154"
optional = true
[dependencies.x11rb]
version = "0.14.0"
features = ["xtest"]
optional = true
default-features = false
[dev-dependencies.icedwright-protocol]
version = "0.1.4"
[dev-dependencies.icedwright-types]
version = "0.1.4"
[dev-dependencies.mockall]
version = "0.15.0"
[dev-dependencies.trybuild]
version = "1.0.125"
[lints.clippy]
expect_used = "warn"
panic = "warn"
unreachable = "warn"
unwrap_used = "warn"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]