[project] authors = ["Jermiah Joseph "] channels = ["conda-forge"] description = "Add a short description here" name = "dicom-finder" platforms = ["osx-arm64", "osx-64", "linux-64"] version = "0.1.0" [tasks] build = { cmd = "cargo build --release", description = "Build the project" } start = { cmd = "cargo run", description = "Run the project" } test = { cmd = "cargo test", description = "Run tests" } clean = { cmd = "cargo clean", description = "Clean the project" } fmt = { cmd = "cargo fmt", description = "Format the code" } lint = { cmd = "cargo clippy", depends_on = [ "fmt", ], description = "Run fmt and then clippy" } bench_main = { cmd = """ hyperfine './target/release/dicom-finder ./data/medimgs' --warmup 10 --runs 25 """, description = "Run a benchmark", depends-on = ["build"] } bench_main_check = { cmd = """ hyperfine './target/release/dicom-finder ./data/medimgs --audit' --warmup 10 --runs 25 """, description = "Run a benchmark", depends-on = ["build"]} bench_fd = { cmd = """ hyperfine 'fd --extension dcm . 'data/medimgs'' --warmup 10 --runs 25 """, description = "Run a benchmark with fd" } bench = { depends-on = [ "bench_main", "bench_fd", "bench_main_check", ], description = "Run all benchmarks" } [dependencies] rust = ">=1.81.0,<2" hyperfine = ">=1.18.0,<2"