Skip to content

Commit

Permalink
0.3.1 (#5)
Browse files Browse the repository at this point in the history
* update deps

* fmt
  • Loading branch information
fiji-flo committed Dec 24, 2017
1 parent 6e32b50 commit c8dc90f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gtmpl"
version = "0.3.0"
version = "0.3.1"
authors = ["Florian Merz <[email protected]>"]
description = "The Golang Templating Language for Rust"
license = "MIT"
Expand All @@ -15,8 +15,8 @@ include = ["Cargo.toml", "src/**/*.rs", "tests/**/*.rs", "README.md", "LICENSE"]
travis-ci = { repository = "fiji-flo/gtmpl-rust" }

[dependencies]
itertools = "0.6"
lazy_static = "0.2"
percent-encoding = "1.0.0"
itertools = "0.7"
lazy_static = "1.0"
percent-encoding = "1.0"
gtmpl_value = "0.2"
gtmpl_derive = "0.2"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

```toml
[dependencies]
gtmpl = "0.3.0"
gtmpl = "0.3"
```

* [gtmpl at crates.io](https://crates.io/crate/gtmpl)
Expand Down
4 changes: 1 addition & 3 deletions tests/define.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ use gtmpl::{Context, Template};
fn simple_define() {
let mut template = Template::default();
template
.parse(
r#"{{ define "tmpl"}} some {{ end -}} there is {{- template "tmpl" -}} template"#,
)
.parse(r#"{{ define "tmpl"}} some {{ end -}} there is {{- template "tmpl" -}} template"#)
.unwrap();

let context = Context::empty();
Expand Down

0 comments on commit c8dc90f

Please sign in to comment.