From 5de0ba055cef7f2dc5451b1eaf0857deb77ae009 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 24 Oct 2021 13:24:52 +0530 Subject: add support for json out --- lib/Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/Cargo.toml') diff --git a/lib/Cargo.toml b/lib/Cargo.toml index e9e9e69..e9bca06 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -11,3 +11,13 @@ if_chain = "1.0" macros = { path = "../macros" } lazy_static = "1.0" rowan = "0.12.5" +serde_json = { version = "1.0.68", optional = true } + +[dependencies.serde] +version = "1.0.130" +features = [ "derive" ] +optional = true + +[features] +default = [] +json-out = [ "serde", "serde_json" ] -- cgit v1.2.3