From 9f3b590206e3dfe33b7129b1c8ff010f60318cf2 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sun, 27 Aug 2017 22:10:42 +0200 Subject: Move most of the code into new askama_shared crate This makes it possible to share code between askama and askama_derive. --- askama_shared/Cargo.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 askama_shared/Cargo.toml (limited to 'askama_shared/Cargo.toml') diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml new file mode 100644 index 0000000..6ad2bff --- /dev/null +++ b/askama_shared/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "askama_shared" +version = "0.3.4" +authors = ["Dirkjan Ochtman "] +workspace = ".." + +[features] +default = [] +serde-json = ["serde", "serde_json"] +iron = [] +rocket = [] + +[dependencies] +error-chain = "0.10" +nom = "3" +quote = "0.3" +serde = { version = "1.0", optional = true } +serde_json = { version = "1.0", optional = true } +syn = "0.11" -- cgit