Local runner for GitHub autograder
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bump deps, lint

Ben C 1a4e1b74 abae58ea

+10 -6
-3
.vscode/settings.json
··· 1 - { 2 - "rust-analyzer.showUnlinkedFileNotification": false 3 - }
+7 -1
Cargo.toml
··· 12 12 clap_derive = "4.5.45" 13 13 clap_mangen = "0.2.29" 14 14 indicatif = "0.18.0" 15 - regex = "1.10.3" 15 + regex = "1.11.2" 16 16 serde = { version = "1.0.219", features = ["derive"] } 17 17 serde_json = "1.0.143" 18 18 wait-timeout = "0.2.1" 19 + 20 + [profile.release] 21 + codegen-units = 1 22 + lto = true 23 + strip = true 24 +
+1 -1
src/cli.rs
··· 1 - use clap::{command, Parser}; 1 + use clap::{Parser, command}; 2 2 3 3 #[derive(Parser)] 4 4 #[command(name="gh-grader-preview", author, version, about, long_about = None)]
+1
src/grader.rs
··· 27 27 pub output: String, 28 28 pub comparison: ComparisonType, 29 29 pub timeout: u32, 30 + #[allow(unused)] 30 31 pub points: Option<u32>, 31 32 } 32 33
+1 -1
src/runner.rs
··· 4 4 time::Duration, 5 5 }; 6 6 7 - use anyhow::{anyhow, Result}; 7 + use anyhow::{Result, anyhow}; 8 8 use wait_timeout::ChildExt; 9 9 10 10 #[cfg(not(windows))]