aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/config.rs b/askama_derive/src/config.rs
index a075744..eec20ed 100644
--- a/askama_derive/src/config.rs
+++ b/askama_derive/src/config.rs
@@ -192,7 +192,7 @@ struct RawConfig {
impl RawConfig {
#[cfg(feature = "config")]
fn from_toml_str(s: &str) -> std::result::Result<RawConfig, CompileError> {
- toml_edit::de::from_str(s)
+ basic_toml::from_str(s)
.map_err(|e| format!("invalid TOML in {CONFIG_FILE_NAME}: {e}").into())
}