Update To Latest Version

This commit is contained in:
vthg2themax 2024-08-25 20:55:36 -04:00
commit fe4694d687
9 changed files with 24 additions and 28 deletions

8
Cargo.lock generated
View file

@ -80,7 +80,7 @@ dependencies = [
[[package]]
name = "integration-tests"
version = "0.9.0-beta"
version = "0.9.0"
dependencies = [
"pretty_assertions",
"sailfish",
@ -165,7 +165,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
[[package]]
name = "sailfish"
version = "0.9.0-beta"
version = "0.9.0"
dependencies = [
"itoap",
"ryu",
@ -177,7 +177,7 @@ dependencies = [
[[package]]
name = "sailfish-compiler"
version = "0.9.0-beta"
version = "0.9.0"
dependencies = [
"filetime",
"home",
@ -192,7 +192,7 @@ dependencies = [
[[package]]
name = "sailfish-macros"
version = "0.9.0-beta"
version = "0.9.0"
dependencies = [
"proc-macro2",
"sailfish-compiler",

View file

@ -6,6 +6,5 @@ members = [
"sailfish-tests/integration-tests"
]
exclude = [
"sailfish-tests/fuzzing-tests",
"examples"
]

View file

@ -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)
@ -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>
@ -47,9 +43,9 @@ You can choose to use `TemplateSimple` to access fields directly:
> </body>
> </html>
> ```
>
>
> Code:
>
>
> ```rust
> use sailfish::TemplateSimple;
>
@ -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>
@ -81,9 +77,9 @@ Or use the more powerful `Template/TemplateMut/TemplateOnce`:
> </body>
> </html>
> ```
>
>
> Code:
>
>
> ```rust
> use sailfish::Template;
>
@ -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!")
@ -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)*

View file

@ -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

View file

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

View file

@ -1,6 +1,6 @@
[package]
name = "sailfish-compiler"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"

View file

@ -1,6 +1,6 @@
[package]
name = "sailfish-macros"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
@ -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"]

View file

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

View file

@ -1,6 +1,6 @@
[package]
name = "sailfish"
version = "0.9.0-beta"
version = "0.9.0"
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
description = "Simple, small, and extremely fast template engine for Rust"
homepage = "https://github.com/rust-sailfish/sailfish"
@ -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