[package]
name = "rust-embed-impl"
version = "6.2.0"
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"
readme = "readme.md"
documentation = "https://docs.rs/rust-embed"
repository = "https://github.com/pyros2097/rust-embed"
license = "MIT"
keywords = ["http", "rocket", "static", "web", "server"]
categories = ["web-programming::http-server"]
authors = ["pyros2097 <pyros2097@gmail.com>"]
edition = "2018"

[lib]
proc-macro = true

[dependencies]
rust-embed-utils = { version = "7.1.0", path = "../utils"}

syn = "1"
quote = "1"
proc-macro2 = "1"
walkdir = "2.3.1"

[dependencies.shellexpand]
version = "2"
optional = true

[features]
debug-embed = []
interpolate-folder-path = ["shellexpand"]
compression = []
include-exclude = ["rust-embed-utils/include-exclude"]

[package]
name = "rust-embed-impl"
version = "6.2.0"
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"
readme = "readme.md"
documentation = "https://docs.rs/rust-embed"
repository = "https://github.com/pyros2097/rust-embed"
license = "MIT"
keywords = ["http", "rocket", "static", "web", "server"]
categories = ["web-programming::http-server"]
authors = ["pyros2097 <pyros2097@gmail.com>"]
edition = "2018"

[lib]
proc-macro = true

[dependencies]
rust-embed-utils = { version = "7.1.0", path = "../utils"}

syn = { version = "1", default-features = false, features = ["derive", "parsing", "proc-macro"] }
quote = "1"
proc-macro2 = "1"
walkdir = "2.3.1"

[dependencies.shellexpand]
version = "2"
optional = true

[features]
debug-embed = []
interpolate-folder-path = ["shellexpand"]
compression = []
include-exclude = ["rust-embed-utils/include-exclude"]

Remove `syn` features that are not required
Remove `syn` features that are not required

The `impl` proc macro depends on `syn`. Not all of the features enabled
in `syn`'s set of default features are required to build the `impl` proc
macro.

Disable default features in the `syn` dependency and only enable the
minimum set of features required to get the APIs needed by the `impl`
crate. This has a nice side effect of slightly speeding up compile
times.
