Skip to content

Commit 3fb5295

Browse files
temporarily using separate tera crate
1 parent 45552a1 commit 3fb5295

3 files changed

Lines changed: 41 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 39 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ regex = "1.1"
6161
mime_guess = "1.8"
6262
heck = "0.3"
6363
# app
64-
tera = { git = "https://github.com/Keats/tera", branch = "v1" }
64+
tera-v1 = "1.0.0-alpha.4"
6565
tantivy = "0.8"
6666
chrono = "0.4"
6767
base64 = "0.10"

src/bindings/app/tera.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::collections::HashMap;
22
use std::sync::{Arc, Mutex};
33
use rlua::prelude::*;
44
use rlua_serde;
5-
use tera::{Tera, Value as JsonValue, Context as TeraContext};
5+
use tera_v1::{Tera, Value as JsonValue, Context as TeraContext};
66
use crate::error::Error;
77

88
struct LuaTera (Arc<Mutex<Tera>>);

0 commit comments

Comments
 (0)