forked from Valerioageno/ssr-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
106 lines (84 loc) · 2.05 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "ssr_rs"
version = "0.5.6"
authors = ["Jerome <[email protected]>", "Valerio <[email protected]>"]
edition = "2021"
description = "Server side rendering with the v8 engine for parse and evaluate the javascript code"
readme = "./README.md"
homepage = "https://git.leongfamily.net/jerome/ssr-rs"
documentation = "https://docs.rs/ssr_rs"
repository = "https://git.leongfamily.net/jerome/ssr-rs"
keywords = ["web", "ssr", "react", "actix", "server-side-render"]
categories = ["web-programming"]
license-file = "./LICENSE_MIT"
autoexamples = false
include = [
"src/*.rs",
"Cargo.toml",
]
[lib]
name = "ssr_rs"
path = "src/lib.rs"
[dependencies]
lru = "0.12.4"
thread_local = "1.1.8"
v8= "0.105.0"
[dev-dependencies]
# Actix depencendies
actix-files = "0.6.4"
actix-web = "4"
# Warp dependencies
tokio = { version = "1", features = ["full"] }
warp = "0.3"
# Tide dependencies
tide = "0.16.0"
async-std = { version = "1.6.0", features = ["attributes"] }
serde = { version = "1.0", features = ["derive"] }
# Axum
axum = "0.7.4"
# Rocket dependencies
rocket = "0.5.0-rc.2"
# Salvo dependencies
salvo = { version = "0.71.1", features = ["serve-static"] }
serde_json = "1.0.118"
tracing = "0.1"
tracing-subscriber = "0.3"
[[example]]
name = "actix"
path = "examples/actix.rs"
[[example]]
name = "tide"
path = "examples/tide.rs"
[[example]]
name = "actix-with-props"
path = "examples/actix_with_initial_props.rs"
[[example]]
name = "rocket"
path = "examples/rocket.rs"
[[example]]
name = "warp"
path = "examples/warp.rs"
[[example]]
name = "run_iife"
path = "examples/run_iife.rs"
[[example]]
name = "run_esm"
path = "examples/run_esm.rs"
[[example]]
name = "axum"
path = "examples/axum.rs"
[[example]]
name = "multi"
path = "examples/multi-thread.rs"
[[example]]
name = "vite-react"
path = "examples/vite-react/server.rs"
[[example]]
name = "webpack-react"
path = "examples/webpack-react/server.rs"
[[example]]
name = "rspack-react"
path = "examples/rspack-react/server.rs"
[[example]]
name = "vite-svelte"
path = "examples/vite-svelte/backend/main.rs"