[workspace] authors = ["Alex Maldonado "] channels = ["conda-forge"] name = "coursebank" platforms = ["linux-64", "osx-arm64", "osx-64"] version = "0.1.0" [environments] dev = ["dev"] docs = ["docs"] [dependencies] rust = ">=1.96.0,<1.97" c-compiler = "*" pkg-config = "*" [tasks] build = "cargo build --release" debug = "cargo build" tests = "cargo test" format = "cargo fmt" lint = { cmd = "cargo clippy --all-targets -- -D warnings", depends-on = [ "format", ] } doc = "cargo doc --no-deps --open" clean = "cargo clean" install = "cargo install --path . --locked" check = { depends-on = ["format", "lint", "tests"] } build-lean = "cargo build --release --no-default-features" [tasks.cb] cmd = "cargo run --release --quiet --" description = "Run the CLI, e.g. `pixi run cb validate --course examples/course`" [feature.dev.dependencies] rust-analyzer = "*" lldb = "*" cargo-nextest = "*" [feature.dev.tasks] watch = "cargo watch -x check -x test" nextest = "cargo nextest run" [feature.docs.dependencies] typst = "*" [feature.docs.tasks] typeset = "typst compile"