diff --git a/judge-core/src/compiler.rs b/judge-core/src/compiler.rs index 717807d..6a7f4cb 100644 --- a/judge-core/src/compiler.rs +++ b/judge-core/src/compiler.rs @@ -39,8 +39,11 @@ impl CommandBuilder { #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] pub enum Language { + #[serde(rename = "rust")] Rust, + #[serde(rename = "cpp")] Cpp, + #[serde(rename = "python")] Python, // add other supported languages here }