[package]
edition = "2024"
rust-version = "1.88"
name = "rocket-include-static-resources"
version = "0.11.0"
authors = ["Magic Len <len@magiclen.org>"]
build = false
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This is a crate which provides macros `static_resources_initializer!` and `static_response_handler!` to statically include files from your Rust project and make them be the HTTP response sources quickly."
homepage = "https://magiclen.org/rocket-include-static-resources"
readme = "README.md"
keywords = [
"rocket",
"server",
"web",
"static",
"file",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/magiclen/rocket-include-static-resources"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cache = ["dep:rocket-cache-response"]
[lib]
name = "rocket_include_static_resources"
path = "src/lib.rs"
[dependencies.entity-tag]
version = "0.2"
features = ["weak-hasher"]
[dependencies.manifest-dir-macros]
version = "0.1.9"
features = [
"tuple",
"mime_guess",
]
[dependencies.mime]
version = "0.3.4"
[dependencies.mime_guess]
version = "2"
[dependencies.rocket]
version = "0.5"
[dependencies.rocket-cache-response]
version = "0.7"
optional = true
[dependencies.rocket-etag-if-none-match]
version = "0.5"