summaryrefslogtreecommitdiff
path: root/rust/src/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/ast.rs')
-rw-r--r--rust/src/ast.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/rust/src/ast.rs b/rust/src/ast.rs
index 2221856..dfb6862 100644
--- a/rust/src/ast.rs
+++ b/rust/src/ast.rs
@@ -1,6 +1,8 @@
use std::fmt::{self, Display};
-#[derive(Debug, PartialEq, Clone)]
+use serde::{Deserialize, Serialize};
+
+#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
pub enum Value {
Num(i32),
Bool(bool),