diff options
author | René Kijewski <rene.kijewski@fu-berlin.de> | 2023-02-20 11:30:55 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-02-21 13:16:00 +0100 |
commit | 9f3325cbe7901e7d2350c1554029ccaf5ff61621 (patch) | |
tree | 6f6c75fcc32ddfecfcea456a6b6b1c5f326145f0 /askama_derive/src/config.rs | |
parent | 32f0799ebb35677c57e18092e6f074cccc2e36ed (diff) | |
download | askama-9f3325cbe7901e7d2350c1554029ccaf5ff61621.tar.gz askama-9f3325cbe7901e7d2350c1554029ccaf5ff61621.tar.bz2 askama-9f3325cbe7901e7d2350c1554029ccaf5ff61621.zip |
Replace `toml_edit` with `basic-toml`
Diffstat (limited to 'askama_derive/src/config.rs')
-rw-r--r-- | askama_derive/src/config.rs | 2 |
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()) } |