Clean up unused features

This commit is contained in:
Dirkjan Ochtman 2018-11-07 20:32:25 +01:00
parent 93884b7fbe
commit 460079e347
4 changed files with 4 additions and 19 deletions

View File

@ -19,7 +19,7 @@ maintenance = { status = "actively-developed" }
[features]
default = []
serde-json = ["askama_shared/serde-json"]
serde-json = ["askama_shared/serde_json"]
with-iron = ["iron", "askama_derive/iron"]
with-rocket = ["rocket", "askama_derive/rocket"]
with-actix-web = ["actix-web", "askama_derive/actix-web", "mime_guess"]

View File

@ -12,10 +12,9 @@ workspace = ".."
proc-macro = true
[features]
default = []
iron = ["askama_shared/iron"]
rocket = ["askama_shared/rocket"]
actix-web = ["askama_shared/actix-web"]
iron = []
rocket = []
actix-web = []
[dependencies]
askama_shared = { version = "0.7.2", path = "../askama_shared" }

View File

@ -7,10 +7,3 @@ homepage = "https://github.com/djc/askama"
repository = "https://github.com/djc/askama"
license = "MIT/Apache-2.0"
workspace = ".."
[features]
default = []
serde-json = []
iron = []
rocket = []
actix-web = []

View File

@ -8,13 +8,6 @@ repository = "https://github.com/djc/askama"
license = "MIT/Apache-2.0"
workspace = ".."
[features]
default = []
serde-json = ["serde_json"]
iron = []
rocket = []
actix-web = []
[dependencies]
askama_escape = { version = "0.1.0", path = "../askama_escape" }
num-traits = "0.2.6"