From 07584691a8b2ff44776d22c9f9b2c4ec1b303948 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Thu, 10 Mar 2022 09:02:10 +0100 Subject: Un-"pub" most of askama_shared's internals Previously askama_shared exported most of it's internals, so askama_derive could use them. This is not needed anymore. --- askama_shared/src/derive.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'askama_shared/src/derive.rs') diff --git a/askama_shared/src/derive.rs b/askama_shared/src/derive.rs index 04b3ba0..b8f0a2f 100644 --- a/askama_shared/src/derive.rs +++ b/askama_shared/src/derive.rs @@ -9,6 +9,7 @@ use crate::parser::{parse, Expr, Node}; use crate::{generator, get_template_source, read_config_file, CompileError, Config}; /// The actual implementation for askama_derive::Template +#[doc(hidden)] pub fn derive_template(input: TokenStream) -> TokenStream { let ast: syn::DeriveInput = syn::parse2(input).unwrap(); match build_template(&ast) { -- cgit