[package]
edition = "2024"
rust-version = "1.85"
name = "autoitx"
version = "0.1.2"
authors = ["Iago Passos <iago.dpassos@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform desktop UI automation with AutoItX's API — AutoItX3 DLL on Windows, native Accessibility/CGEvent on macOS"
readme = "README.md"
keywords = [
"automation",
"autoit",
"rpa",
"windows",
"macos",
]
categories = [
"api-bindings",
"os",
"os::windows-apis",
"os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iagodpassos/autoitx"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
"x86_64-pc-windows-msvc",
"aarch64-apple-darwin",
]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
mock = []
mock-loader = ["autoitx-sys/mock-loader"]
tracing = ["dep:tracing"]
[lib]
name = "autoitx"
path = "src/lib.rs"
[[example]]
name = "anchored_click"
path = "examples/anchored_click.rs"
[[example]]
name = "diagnose"
path = "examples/diagnose.rs"
[[example]]
name = "list_windows"
path = "examples/list_windows.rs"
[[example]]
name = "macos_permissions"
path = "examples/macos_permissions.rs"
[[example]]
name = "port_from_csharp"
path = "examples/port_from_csharp.rs"
[[example]]
name = "portable_selectors"
path = "examples/portable_selectors.rs"
[[example]]
name = "read_field"
path = "examples/read_field.rs"
[[example]]
name = "type_safely"
path = "examples/type_safely.rs"
[[example]]
name = "wait_until_ready"
path = "examples/wait_until_ready.rs"
[[test]]
name = "macos_live"
path = "tests/macos_live.rs"
[[test]]
name = "safe_layer"
path = "tests/safe_layer.rs"
[dependencies.autoitx-sys]
version = "0.1.2"
[dependencies.bitflags]
version = "2.9"
[dependencies.libloading]
version = "0.8.9"
[dependencies.parking_lot]
version = "0.12"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.libloading]
version = "0.8.9"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-application-services]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
[lints.clippy]
undocumented_unsafe_blocks = "warn"
[lints.rust]
missing_docs = "deny"
unsafe_op_in_unsafe_fn = "deny"