From e0300661068f3c8141cdc90fa915f7c61ce3d1ab Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 23 Aug 2017 16:32:28 +0200 Subject: Add test for Rocket support --- testing/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testing/Cargo.toml') diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 6d81db5..8db4cd5 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -5,10 +5,16 @@ authors = ["Dirkjan Ochtman "] workspace = ".." build = "build.rs" +[features] +default = [] +nightly = ["rocket", "rocket_codegen", "askama/with-rocket"] + [dependencies] iron = "0.5" serde_json = "1.0" askama = { path = "../askama", version = "*", features = ["with-iron", "serde-json"] } +rocket = { version = "0.3", optional = true } +rocket_codegen = { version = "0.3", optional = true } [build-dependencies] askama = { path = "../askama", version = "*", features = ["with-iron", "serde-json"] } -- cgit