Skip to content

Commit

Permalink
Update To Latest Version
Browse files Browse the repository at this point in the history
  • Loading branch information
vthg2themax committed Aug 26, 2024
1 parent 2365789 commit fe4694d
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 28 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ members = [
"sailfish-tests/integration-tests"
]
exclude = [
"sailfish-tests/fuzzing-tests",
"examples"
]
27 changes: 12 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

Simple, small, and extremely fast template engine for Rust

[![Tests](https://github.com/rust-sailfish/sailfish/workflows/Tests/badge.svg)](https://github.com/rust-sailfish/sailfish/actions?query=workflow%3ATests)
[![Version](https://img.shields.io/crates/v/sailfish)](https://crates.io/crates/sailfish)
[![dependency status](https://deps.rs/repo/github/rust-sailfish/sailfish/status.svg)](https://deps.rs/repo/github/rust-sailfish/sailfish)
[![Rust 1.60](https://img.shields.io/badge/rust-1.60+-lightgray.svg)](https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/rust-sailfish/sailfish/blob/master/LICENSE)
![Tests](https://github.com/rust-sailfish/sailfish/workflows/Tests/badge.svg)![Version](https://img.shields.io/crates/v/sailfish)![dependency status](https://deps.rs/repo/github/rust-sailfish/sailfish/status.svg)![Rust 1.60](https://img.shields.io/badge/rust-1.60+-lightgray.svg)![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)

[User Guide](https://rust-sailfish.github.io/sailfish/) | [API Docs](https://docs.rs/sailfish) | [Examples](./examples)

Expand All @@ -31,13 +27,13 @@ Dependencies:

```toml
[dependencies]
sailfish = "0.9.0-beta"
sailfish = "0.9.0"
```

You can choose to use `TemplateSimple` to access fields directly:

> Template file (templates/hello.stpl):
>
>
> ```erb
> <html>
> <body>
Expand All @@ -47,9 +43,9 @@ You can choose to use `TemplateSimple` to access fields directly:
> </body>
> </html>
> ```
>
>
> Code:
>
>
> ```rust
> use sailfish::TemplateSimple;
>
Expand All @@ -70,7 +66,7 @@ You can choose to use `TemplateSimple` to access fields directly:
Or use the more powerful `Template/TemplateMut/TemplateOnce`:
> Template file (templates/hello.stpl):
>
>
> ```erb
> <html>
> <body>
Expand All @@ -81,9 +77,9 @@ Or use the more powerful `Template/TemplateMut/TemplateOnce`:
> </body>
> </html>
> ```
>
>
> Code:
>
>
> ```rust
> use sailfish::Template;
>
Expand All @@ -92,7 +88,7 @@ Or use the more powerful `Template/TemplateMut/TemplateOnce`:
> struct HelloTemplate {
> messages: Vec<String>
> }
>
>
> impl HelloTemplate {
> fn say_hello(&self) -> String {
> String::from("Hello!")
Expand Down Expand Up @@ -138,5 +134,6 @@ Copyright © 2020 [Ryohei Machida](https://github.com/Kogia-sima).
This project is [MIT](https://github.com/rust-sailfish/sailfish/blob/master/LICENSE) licensed.
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
---
*This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)*
2 changes: 1 addition & 1 deletion docs/en/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In order to use sailfish templates, you have add two dependencies in your `Cargo

``` toml
[dependencies]
sailfish = "0.9.0-beta"
sailfish = "0.9.0"
```

## Feature Flags
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish-examples"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <[email protected]>"]
edition = "2018"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion sailfish-compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish-compiler"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <[email protected]>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down
4 changes: 2 additions & 2 deletions sailfish-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish-macros"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <[email protected]>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down Expand Up @@ -30,6 +30,6 @@ proc-macro2 = "1.0.56"

[dependencies.sailfish-compiler]
path = "../sailfish-compiler"
version = "0.9.0-beta"
version = "0.9.0"
default-features = false
features = ["procmacro"]
2 changes: 1 addition & 1 deletion sailfish-tests/integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "integration-tests"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <[email protected]>"]
edition = "2018"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions sailfish/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sailfish"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <[email protected]>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
Expand Down Expand Up @@ -31,7 +31,7 @@ serde_json = { version = "1.0.95", optional = true }

[dependencies.sailfish-macros]
path = "../sailfish-macros"
version = "0.9.0-beta"
version = "0.9.0"
default-features = false
optional = true

Expand Down

0 comments on commit fe4694d

Please sign in to comment.