Skip to content

Commit

Permalink
fix(lang): add serde derive for lang (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 authored Nov 30, 2024
1 parent 092e9e9 commit 4ac7bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use anyhow::Result;
use tokio::process::Command;

#[derive(Clone, Copy)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum Language {
C,
CPP,
Expand Down

0 comments on commit 4ac7bc3

Please sign in to comment.