diff options
Diffstat (limited to '')
-rw-r--r-- | askama_shared/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_shared/src/input.rs (renamed from askama_derive/src/input.rs) | 2 | ||||
-rw-r--r-- | askama_shared/src/lib.rs | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index 19d3274..f82f026 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -22,10 +22,12 @@ humansize = { version = "1.1.0", optional = true } # https://github.com/rust-lang/rust/issues/62146 nom = { version = "5", default-features = false, features = ["std"] } num-traits = { version = "0.2.6", optional = true } +quote = "1" serde = { version = "1.0", optional = true, features = ["derive"] } serde_derive = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } serde_yaml = { version = "0.8", optional = true } +syn = "1" toml = { version = "0.5", optional = true } [package.metadata.docs.rs] diff --git a/askama_derive/src/input.rs b/askama_shared/src/input.rs index 6a54a99..53718f0 100644 --- a/askama_derive/src/input.rs +++ b/askama_shared/src/input.rs @@ -1,4 +1,4 @@ -use askama_shared::{Config, Syntax}; +use crate::{Config, Syntax}; use std::path::PathBuf; diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index b2f1271..fa4a9a0 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -16,6 +16,7 @@ mod error; pub use crate::error::{Error, Result}; pub mod filters; pub mod helpers; +pub mod input; pub mod parser; #[derive(Debug)] |