Skip to content

Commit

Permalink
Merge remote-tracking branch 'Github/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleong committed Aug 29, 2024
2 parents 04a03c9 + 7f023cb commit d6fd999
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ path = "src/lib.rs"
[dependencies]
lru = "0.12.4"
thread_local = "1.1.8"
v8= "0.104.0"
v8= "0.105.0"

[dev-dependencies]

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 🚀 為 JS 前端和 Rust 後端提供服務端渲染的橋樑 - SSR-RS

<p align="center">
<img src="https://git.leongfamily.net/Jerome/ssr-rs/raw/branch/main/logo.png" alt="SSR Rust Logo">
<img src="https://raw.githubusercontent.com/jeromeleong/ssr-rs/main/logo.png" alt="SSR Rust Logo">
</p>

本 crate 是基於 [Valerioageno的ssr-rs](https://github.com/Valerioageno/ssr-rs) 來進行部分修改,旨在以最簡單和最輕量的方式啟用 Rust 伺服器上的伺服器端渲染。它使用嵌入版本的 [V8](https://v8.dev/) JavaScript 引擎(<a href="https://github.com/denoland/rusty_v8" target="_blank">rusty_v8</a>)來解析和評估已建置的 bundle 文件,並返回渲染後的 HTML 字符串。
Expand Down Expand Up @@ -78,8 +78,8 @@ fn main() {

## 許可證

本項目採用 MIT 許可證。詳見 [LICENSE](https://git.leongfamily.net/Jerome/ssr-rs/src/branch/main/LICENSE_MIT) 文件。
本項目採用 MIT 許可證。詳見 [LICENSE](https://github.com/jeromeleong/ssr-rs/blob/main/LICENSE_MIT) 文件。

## 聯繫方式

如有任何問題或建議,請通過 [GitHub Issues](https://git.leongfamily.net/jerome/ssr-rs/issues) 與我們聯繫。
如有任何問題或建議,請通過 [GitHub Issues](https://github.com/jeromeleong/ssr-rs/issues) 與我們聯繫。
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//! The crate aims to enable server side rendering on rust servers in the simplest and lightest way possible.
//! It uses an embedded version of the [V8](https://v8.dev/) javascript engine (<a href="https://github.com/denoland/rusty_v8" target="_blank">rusty_v8</a>) to parse and evaluate a built bundle file and return a string with the rendered html.
//!
//! > ℹ️ This project is the backbone of [tuono](https://github.com/Valerioageno/tuono); a fullstack react framework with built in server side rendering.
//! ℹ️ **This project is the backbone of [tuono](https://github.com/Valerioageno/tuono); a fullstack react framework with built in SSR.**
//!
//! Currently it works with [Vite](https://vitejs.dev/), [Webpack](https://webpack.js.org/), [Rspack](https://www.rspack.dev/) and [React 18](https://react.dev/) - Check the examples folder.
//! Currently it works with [Vite](https://vitejs.dev/), [Webpack](https://webpack.js.org/), [Rspack](https://www.rspack.dev/), [React 18](https://react.dev/) and [Svelte 4](https://svelte.dev/) - Check the <a href="https://github.com/Valerioageno/ssr-rs/blob/main/examples" target="_blank">examples</a> folder.
//!
//! > Check <a href="https://github.com/Valerioageno/ssr-rs/blob/main/benches">here</a> the benchmarks results.
//!
Expand Down

0 comments on commit d6fd999

Please sign in to comment.