Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3.1 #5

Merged
merged 2 commits into from
Dec 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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