[package]
name = "juno_edge_detection"
version = "0.1.0"
authors = ["Aaron Councilman <aaronjc4@illinois.edu>"]
edition = "2021"

[features]
opencv = ["dep:opencv"]
cuda = ["juno_build/cuda", "hercules_rt/cuda"]
seq = []

[[bin]]
name = "juno_edge_detection"
path = "src/main.rs"
required-features = ["opencv"]

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

[build-dependencies]
juno_build = { path = "../../juno_build" }

[dependencies]
juno_build = { path = "../../juno_build" }
hercules_rt = { path = "../../hercules_rt" }
async-std = "*"
clap = { version = "*", features = ["derive"] }
with_builtin_macros = "0.1.0"
opencv = { version = "*", features = ["clang-runtime"], optional = true }

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "edge_detection_bench"
harness = false
required-features = ["opencv"]