[package]
edition = "2021"
rust-version = "1.75"
name = "selection-capture"
version = "0.1.1"
authors = ["zamery <zaob.ogn@gmail.com>"]
build = false
include = [
"src/**",
"Cargo.toml",
"README.md",
"LICENSE*",
"SPEC.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sync, cancellable selected-text capture engine with strategy-aware fallbacks"
homepage = "https://github.com/maemreyo/selection-capture"
documentation = "https://docs.rs/selection-capture"
readme = "README.md"
keywords = [
"selection",
"macos",
"accessibility",
"clipboard",
"capture",
]
categories = [
"api-bindings",
"os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/maemreyo/selection-capture"
[package.metadata.docs.rs]
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
]
all-features = true
[features]
default = []
[lib]
name = "selection_capture"
path = "src/lib.rs"
[dev-dependencies]
[target.'cfg(target_os = "macos")'.dependencies.accessibility-ng]
version = "0.1"
[target.'cfg(target_os = "macos")'.dependencies.accessibility-sys-ng]
version = "0.1"
[target.'cfg(target_os = "macos")'.dependencies.active-win-pos-rs]
version = "0.8"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.9.4"
[target.'cfg(target_os = "macos")'.dependencies.macos-accessibility-client]
version = "0.0.1"
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true