[package]
edition = "2021"
name = "visual-cortex"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Watch screen regions and receive typed events over async streams when patterns match: OCR, template matching, and pixel conditions on live captures."
readme = false
license = "PolyForm-Noncommercial-1.0.0"
repository = "https://github.com/benjamin-small/visual-cortex"
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
targets = [
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
]
[lib]
name = "visual_cortex"
path = "src/lib.rs"
[[example]]
name = "fake_demo"
path = "examples/fake_demo.rs"
[[example]]
name = "mirror"
path = "examples/mirror.rs"
[[example]]
name = "ocr_demo"
path = "examples/ocr_demo.rs"
[[example]]
name = "template_demo"
path = "examples/template_demo.rs"
[[test]]
name = "capture_lifecycle"
path = "tests/capture_lifecycle.rs"
[[test]]
name = "heavy_detector"
path = "tests/heavy_detector.rs"
[[test]]
name = "ocr_pipeline"
path = "tests/ocr_pipeline.rs"
[[test]]
name = "real_capture"
path = "tests/real_capture.rs"
[[test]]
name = "template_pipeline"
path = "tests/template_pipeline.rs"
[[test]]
name = "watcher_pipeline"
path = "tests/watcher_pipeline.rs"
[dependencies.arc-swap]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"time",
"sync",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.visual-cortex-capture]
version = "0.7.0"
[dependencies.visual-cortex-vision]
version = "0.7.0"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"time",
"sync",
"macros",
"test-util",
]