From 071106d94254d67388de64f0a7727732b345f413 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Tue, 24 Jan 2023 10:14:47 +0100 Subject: Use `toml_edit` instead of `toml` Since version 0.6, `toml` is a wrapper around `toml_edit`, and the more basic library already meets our needs. --- askama_derive/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_derive/Cargo.toml') diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index 61cce97..15dd36b 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -14,7 +14,7 @@ rust-version = "1.58" proc-macro = true [features] -config = ["serde", "toml"] +config = ["serde", "toml_edit"] humansize = [] markdown = [] urlencode = [] @@ -38,4 +38,4 @@ proc-macro2 = "1" quote = "1" serde = { version = "1.0", optional = true, features = ["derive"] } syn = "1" -toml = { version = "0.5", optional = true } +toml_edit = { version = "0.19", optional = true, features = ["serde"] } -- cgit