vite-static 0.4.0

Embed Vite chunks into your Rust application and query them individually.
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"
name = "vite-static"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embed Vite chunks into your Rust application and query them individually."
readme = "README.md"
license = "LGPL-3.0-or-later"
repository = "https://codeberg.org/idkncc/vite-static"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
actix-web = ["dep:vite-static-actix-web"]
default = ["derive"]
derive = ["dep:vite-static-derive"]
html = ["dep:vite-static-html"]

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

[[example]]
name = "actix-web"
path = "examples/actix_web.rs"
required-features = [
    "derive",
    "actix-web",
]

[[example]]
name = "html"
path = "examples/html.rs"
required-features = [
    "derive",
    "html",
]

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = ["derive"]

[dependencies.vite-static-actix-web]
version = "0.4.0"
optional = true

[dependencies.vite-static-derive]
version = "0.4.0"
optional = true

[dependencies.vite-static-html]
version = "0.4.0"
optional = true

[dependencies.vite-static-shared]
version = "0.4.0"

[dev-dependencies.actix-web]
version = "4.14.0"