aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/derive.rs
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-03-10 09:02:10 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-03-23 19:37:10 +0100
commit07584691a8b2ff44776d22c9f9b2c4ec1b303948 (patch)
tree43549d7d414aad8c728b7f6b6e3c67c0b6004898 /askama_shared/src/derive.rs
parent4c0388d11e1bafb85250b649ff610d3f9c7f9452 (diff)
downloadaskama-07584691a8b2ff44776d22c9f9b2c4ec1b303948.tar.gz
askama-07584691a8b2ff44776d22c9f9b2c4ec1b303948.tar.bz2
askama-07584691a8b2ff44776d22c9f9b2c4ec1b303948.zip
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.
Diffstat (limited to 'askama_shared/src/derive.rs')
-rw-r--r--askama_shared/src/derive.rs1
1 files changed, 1 insertions, 0 deletions
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) {