-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
47 lines (39 loc) · 1.27 KB
/
Cargo.toml
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
44
45
46
47
[package]
name = "reinda"
version = "0.3.0"
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
edition = "2018"
description = """
Easily embed and manage your assets for your web application to build
standalone-executables. Offers filename hashing, templating, compression and more.
"""
documentation = "https://docs.rs/reinda/"
repository = "https://github.com/LukasKalbertodt/reinda/"
readme = "README.md"
license = "MIT/Apache-2.0"
keywords = ["embed", "asset", "standalone", "http", "web"]
categories = ["caching", "filesystem", "web-programming"]
exclude = [".github"]
[features]
default = ["compress", "hash"]
always-prod = ["reinda-macros/always-prod"]
hash = ["dep:base64", "dep:sha2"]
compress = ["dep:brotli", "reinda-macros/compress"]
[dependencies]
ahash = "0.8.3"
aho-corasick = "1.1"
base64 = { version = "0.22.0", optional = true }
brotli = { version = "5", optional = true }
bytes = "1"
glob = "0.3.1"
reinda-macros = { version = "=0.0.4", path = "macros" }
sha2 = { version = "0.10.6", optional = true }
thiserror = "1"
tokio = { version = "1", features = ["fs", "io-util"] }
[dev-dependencies]
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }
[build-dependencies]
cfg_aliases = "0.2.0"
[[example]]
name = "main"
required-features = ["hash"]