Merge branch 'master' into stable

This commit is contained in:
Kogia-sima 2020-11-11 10:48:58 +09:00
commit 4ea8661415
11 changed files with 36 additions and 21 deletions

View File

@ -1,4 +1,19 @@
<a name="v0.2.1"></a>
## [v0.2.1](https://github.com/Kogia-sima/sailfish/compare/v0.2.0...v0.2.1) (2020-07-17)
### Features
* Add trim filter
### Bug fix
* Fix incorrect syntax highlighting in vim
* Avoid capacity overflow in `Buffer::with_capacity`
* Avoid dangerous conversion from String to Buffer
* Fix docs typo (#30)
* Search rustfmt command along all toolchains
<a name="v0.2.0"></a>
## [v0.2.0](https://github.com/Kogia-sima/sailfish/compare/v0.1.3...v0.2.0) (2020-07-17)

16
Cargo.lock generated
View File

@ -37,12 +37,12 @@ dependencies = [
[[package]]
name = "integration-tests"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
"sailfish 0.2.1",
"sailfish-compiler 0.2.1",
"sailfish-macros 0.2.1",
"sailfish 0.2.2",
"sailfish-compiler 0.2.2",
"sailfish-macros 0.2.2",
"trybuild 1.0.28 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -113,7 +113,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "sailfish"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"itoap 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"ryu 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
@ -122,7 +122,7 @@ dependencies = [
[[package]]
name = "sailfish-compiler"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"home 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
"memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
@ -135,10 +135,10 @@ dependencies = [
[[package]]
name = "sailfish-macros"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"proc-macro2 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)",
"sailfish-compiler 0.2.1",
"sailfish-compiler 0.2.2",
]
[[package]]

View File

@ -30,8 +30,8 @@ Dependencies:
```toml
[dependencies]
sailfish = "0.2.1"
sailfish-macros = "0.2.1"
sailfish = "0.2.2"
sailfish-macros = "0.2.2"
```
Template file (templates/hello.stpl):

View File

@ -1,6 +1,6 @@
[package]
name = "benches"
version = "0.2.1"
version = "0.2.2"
authors = ["Dirkjan Ochtman <dirkjan@ochtman.nl>", "Ryohei Machida <orcinus4627@gmail.com>"]
build = "src/build.rs"
edition = "2018"

View File

@ -4,8 +4,8 @@ In order to use sailfish templates, you have add two dependencies in your `Cargo
```toml
[dependencies]
sailfish = "0.2.1"
sailfish-macros = "0.2.1"
sailfish = "0.2.2"
sailfish-macros = "0.2.2"
```
`sailfish` crate contains runtime for rendering contents, and `sailfish-macros` serves you derive macros to compile and import the template files.

View File

@ -1,6 +1,6 @@
[package]
name = "sailfish-examples"
version = "0.2.1"
version = "0.2.2"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
edition = "2018"
publish = false

View File

@ -1,6 +1,6 @@
[package]
name = "sailfish-compiler"
version = "0.2.1"
version = "0.2.2"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Really fast, intuitive template engine for Rust"
homepage = "https://github.com/Kogia-sima/sailfish"
@ -33,7 +33,7 @@ default-features = false
features = ["parsing", "full", "visit-mut", "printing", "clone-impls", "extra-traits"]
[dependencies.proc-macro2]
version = ">=1.0.11, <=1.0.19"
version = ">=1.0.11, <=1.0.24"
default-features = false
features = ["span-locations"]

View File

@ -1,6 +1,6 @@
[package]
name = "sailfish-macros"
version = "0.2.1"
version = "0.2.2"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Really fast, intuitive template engine for Rust"
homepage = "https://github.com/Kogia-sima/sailfish"
@ -29,6 +29,6 @@ proc-macro2 = "1.0.11"
[dependencies.sailfish-compiler]
path = "../sailfish-compiler"
version = "0.2.1"
version = "0.2.2"
default-features = false
features = ["procmacro"]

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzing-tests"
version = "0.2.1"
version = "0.2.2"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
edition = "2018"
publish = false

View File

@ -1,6 +1,6 @@
[package]
name = "integration-tests"
version = "0.2.1"
version = "0.2.2"
authors = ["Kogia-sima <orcinus4627@gmail.com>"]
edition = "2018"
publish = false

View File

@ -1,6 +1,6 @@
[package]
name = "sailfish"
version = "0.2.1"
version = "0.2.2"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Really fast, intuitive template engine for Rust"
homepage = "https://github.com/Kogia-sima/sailfish"