[package]
name = "perseus"
version = "0.4.0-beta.7"
edition = "2021"
description = "A lightning-fast frontend web dev platform with full support for SSR and SSG."
authors = ["arctic_hen7 <arctic_hen7@pm.me>"]
license = "MIT"
repository = "https://github.com/arctic-hen7/perseus"
homepage = "https://arctic-hen7.github.io/perseus"
readme = "../../README.md"
keywords = ["wasm", "frontend", "webdev", "ssg", "ssr"]
categories = ["wasm", "web-programming", "development-tools", "asynchronous", "gui"]
[dependencies]
sycamore = { version = "=0.8.0-beta.7", features = [ "ssr" ] }
sycamore-router = "=0.8.0-beta.7"
sycamore-futures = "=0.8.0-beta.7"
perseus-macro = { path = "../perseus-macro", version = "0.4.0-beta.7", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
async-trait = "0.1"
futures = "0.3"
fmterr = "0.1"
fluent-bundle = { version = "0.15", optional = true }
unic-langid = { version = "0.9", optional = true }
intl-memoizer = { version = "0.5", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
regex = "1"
tokio = { version = "1", features = [ "fs", "io-util" ] }
fs_extra = "1"
http = "0.2"
urlencoding = "2.1"
chrono = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
rexie = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true }
console_error_panic_hook = { version = "0.1.6", optional = true }
web-sys = { version = "0.3", features = [ "Headers", "Navigator", "NodeList", "Request", "RequestInit", "RequestMode", "Response", "ReadableStream", "Window" ] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
[features]
default = [ "live-reload", "hsr", "client-helpers", "macros", "dflt-engine" ]
translator-fluent = ["fluent-bundle", "unic-langid", "intl-memoizer"]
translator-lightweight = []
macros = [ "perseus-macro" ]
dflt-engine = []
client-helpers = [ "console_error_panic_hook" ]
hydrate = []
preload-wasm-on-redirect = []
idb-freezing = [ "rexie", "web-sys/StorageManager" ]
wasm2js = []
live-reload = [ "js-sys", "web-sys/WebSocket", "web-sys/MessageEvent", "web-sys/ErrorEvent", "web-sys/BinaryType", "web-sys/Location" ]
hsr = [ "live-reload", "idb-freezing" ]