forked from hhatto/rust-embed
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (36 loc) · 1.03 KB
/
Cargo.toml
File metadata and controls
43 lines (36 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "rust-embed-for-web-impl"
description = "The proc-macro implementation of rust-embed-for-web."
version = "11.3.0"
readme = "readme.md"
repository = "https://github.com/SeriousBug/rust-embed-for-web"
license = "MIT"
keywords = ["http", "rocket", "static", "web", "server"]
categories = ["web-programming::http-server"]
edition = "2018"
[lib]
proc-macro = true
[dependencies]
rust-embed-for-web-utils = { version = "11.3.0", path = "../utils" }
syn = { version = "2.0", default-features = false, features = [
"derive",
"parsing",
"proc-macro",
] }
quote = "1.0"
proc-macro2 = "1.0"
walkdir = "2.4.0"
# Compression
flate2 = "1.0"
brotli = "8.0"
zstd = { version = "0.13", optional = true }
globset = { version = "0.4", optional = true }
[dependencies.shellexpand]
version = "3.1"
optional = true
[features]
default = []
interpolate-folder-path = ["shellexpand"]
include-exclude = ["rust-embed-for-web-utils/include-exclude", "globset"]
always-embed = []
compression-zstd = ["zstd", "rust-embed-for-web-utils/compression-zstd"]