[badges.appveyor]
repository = "pyros2097/rust-embed"
[badges.is-it-maintained-issue-resolution]
repository = "pyros2097/rust-embed"
[badges.is-it-maintained-open-issues]
repository = "pyros2097/rust-embed"
[badges.maintenance]
status = "passively-maintained"
[badges.travis-ci]
repository = "pyros2097/rust-embed"
[dependencies.actix-web]
optional = true
version = "4"
[dependencies.axum]
default-features = false
features = ["http1", "tokio"]
optional = true
version = "0.7"
[dependencies.hex]
optional = true
version = "0.4.3"
[dependencies.include-flate]
optional = true
version = "0.3"
[dependencies.mime_guess]
optional = true
version = "2"
[dependencies.poem]
default-features = false
features = ["server"]
optional = true
version = "1.3.30"
[dependencies.rocket]
default-features = false
optional = true
version = "0.5.0-rc.2"
[dependencies.rust-embed-impl]
version = "8.4.0"
[dependencies.rust-embed-utils]
version = "8.4.0"
[dependencies.salvo]
default-features = false
optional = true
version = "0.16"
[dependencies.tokio]
features = ["macros", "rt-multi-thread"]
optional = true
version = "1.0"
[dependencies.walkdir]
version = "2.3.2"
[dependencies.warp]
default-features = false
optional = true
version = "0.3"
[dev-dependencies.sha2]
version = "0.10"
[[example]]
name = "warp"
path = "examples/warp.rs"
required-features = ["warp-ex"]
[[example]]
name = "actix"
path = "examples/actix.rs"
required-features = ["actix"]
[[example]]
name = "rocket"
path = "examples/rocket.rs"
required-features = ["rocket"]
[[example]]
name = "axum"
path = "examples/axum.rs"
required-features = ["axum-ex"]
[[example]]
name = "axum-spa"
path = "examples/axum-spa/main.rs"
required-features = ["axum-ex"]
[[example]]
name = "poem"
path = "examples/poem.rs"
required-features = ["poem-ex"]
[[example]]
name = "salvo"
path = "examples/salvo.rs"
required-features = ["salvo-ex"]
[features]
actix = ["actix-web", "mime_guess"]
axum-ex = ["axum", "tokio", "mime_guess"]
compression = ["rust-embed-impl/compression", "include-flate"]
debug-embed = ["rust-embed-impl/debug-embed", "rust-embed-utils/debug-embed"]
include-exclude = ["rust-embed-impl/include-exclude", "rust-embed-utils/include-exclude"]
interpolate-folder-path = ["rust-embed-impl/interpolate-folder-path"]
mime-guess = ["rust-embed-impl/mime-guess", "rust-embed-utils/mime-guess"]
poem-ex = ["poem", "tokio", "mime_guess", "hex"]
salvo-ex = ["salvo", "tokio", "mime_guess", "hex"]
warp-ex = ["warp", "tokio", "mime_guess"]
[package]
authors = ["pyros2097 <pyros2097@gmail.com>"]
categories = ["web-programming", "filesystem"]
description = "Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev"
documentation = "https://docs.rs/rust-embed"
edition = "2018"
keywords = ["http", "rocket", "static", "web", "server"]
license = "MIT"
name = "rust-embed"
readme = "readme.md"
repository = "https://github.com/pyros2097/rust-embed"
rust-version = "1.70.0"
version = "8.5.0"
[[test]]
name = "interpolated_path"
path = "tests/interpolated_path.rs"
required-features = ["interpolate-folder-path"]
[[test]]
name = "include_exclude"
path = "tests/include_exclude.rs"
required-features = ["include-exclude"]
[[test]]
name = "mime_guess"
path = "tests/mime_guess.rs"
required-features = ["mime-guess"]