Skip to content

Commit

Permalink
temporarily using separate tera crate
Browse files Browse the repository at this point in the history
  • Loading branch information
naturallymitchell committed Jan 29, 2019
1 parent 45552a1 commit 3fb5295
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
44 changes: 39 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ regex = "1.1"
mime_guess = "1.8"
heck = "0.3"
# app
tera = { git = "https://github.com/Keats/tera", branch = "v1" }
tera-v1 = "1.0.0-alpha.4"
tantivy = "0.8"
chrono = "0.4"
base64 = "0.10"
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/app/tera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::HashMap;
use std::sync::{Arc, Mutex};
use rlua::prelude::*;
use rlua_serde;
use tera::{Tera, Value as JsonValue, Context as TeraContext};
use tera_v1::{Tera, Value as JsonValue, Context as TeraContext};
use crate::error::Error;

struct LuaTera (Arc<Mutex<Tera>>);
Expand Down

0 comments on commit 3fb5295

Please sign in to comment.