| # 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 = "2018" |
| name = "rust-embed" |
| version = "6.6.0" |
| authors = ["pyros2097 <[email protected]>"] |
| 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" |
| readme = "readme.md" |
| keywords = [ |
| "http", |
| "rocket", |
| "static", |
| "web", |
| "server", |
| ] |
| categories = [ |
| "web-programming", |
| "filesystem", |
| ] |
| license = "MIT" |
| repository = "https://github.com/pyros2097/rust-embed" |
| |
| [[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"] |
| |
| [[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"] |
| |
| [dependencies.actix-web] |
| version = "4" |
| optional = true |
| |
| [dependencies.axum] |
| version = "0.6" |
| features = [ |
| "http1", |
| "tokio", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.hex] |
| version = "0.4.3" |
| optional = true |
| |
| [dependencies.include-flate] |
| version = "0.1" |
| features = ["stable"] |
| optional = true |
| |
| [dependencies.mime_guess] |
| version = "2" |
| optional = true |
| |
| [dependencies.poem] |
| version = "1.3.30" |
| features = ["server"] |
| optional = true |
| default-features = false |
| |
| [dependencies.rocket] |
| version = "0.5.0-rc.2" |
| optional = true |
| default-features = false |
| |
| [dependencies.rust-embed-impl] |
| version = "6.5.0" |
| |
| [dependencies.rust-embed-utils] |
| version = "7.5.0" |
| |
| [dependencies.salvo] |
| version = "0.16" |
| optional = true |
| default-features = false |
| |
| [dependencies.tokio] |
| version = "1.0" |
| features = [ |
| "macros", |
| "rt-multi-thread", |
| ] |
| optional = true |
| |
| [dependencies.walkdir] |
| version = "2.3.2" |
| |
| [dependencies.warp] |
| version = "0.3" |
| optional = true |
| default-features = false |
| |
| [dev-dependencies.sha2] |
| version = "0.10" |
| |
| [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"] |
| poem-ex = [ |
| "poem", |
| "tokio", |
| "mime_guess", |
| "hex", |
| ] |
| salvo-ex = [ |
| "salvo", |
| "tokio", |
| "mime_guess", |
| "hex", |
| ] |
| warp-ex = [ |
| "warp", |
| "tokio", |
| "mime_guess", |
| ] |
| |
| [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" |