phoenix-view 0.1.4

React page protocol and rendering modes for Phoenix
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95"
name = "phoenix-view"
version = "0.1.4"
authors = ["ApiZero <api@zerois.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "React page protocol and rendering modes for Phoenix"
homepage = "https://apizero.cn/"
readme = false
license = "MIT"
repository = "https://github.com/MageGojo/Phoenix-rs"

[features]
default = ["metrics"]
metrics = ["dep:phoenix-metrics"]

[lib]
name = "phoenix_view"
path = "src/lib.rs"

[[test]]
name = "react_ssr_csp"
path = "tests/react_ssr_csp.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.phoenix-http]
version = "0.1.1"
default-features = false

[dependencies.phoenix-metrics]
version = "0.1.1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "net",
    "process",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dev-dependencies.phoenix-routing]
version = "0.1.1"

[dev-dependencies.phoenix-security]
version = "0.1.1"
default-features = false

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "forbid"