Add default-enabled feature-gates for url_preview and media_thumbnail
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
0238f27605
commit
cc1889d135
8 changed files with 182 additions and 123 deletions
|
@ -28,8 +28,8 @@ element_hacks = []
|
|||
gzip_compression = [
|
||||
"reqwest/gzip",
|
||||
]
|
||||
zstd_compression = [
|
||||
"reqwest/zstd",
|
||||
media_thumbnail = [
|
||||
"dep:image",
|
||||
]
|
||||
release_max_log_level = [
|
||||
"tracing/max_level_trace",
|
||||
|
@ -37,6 +37,13 @@ release_max_log_level = [
|
|||
"log/max_level_trace",
|
||||
"log/release_max_level_info",
|
||||
]
|
||||
url_preview = [
|
||||
"dep:image",
|
||||
"dep:webpage",
|
||||
]
|
||||
zstd_compression = [
|
||||
"reqwest/zstd",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
arrayvec.workspace = true
|
||||
|
@ -51,6 +58,7 @@ futures.workspace = true
|
|||
hickory-resolver.workspace = true
|
||||
http.workspace = true
|
||||
image.workspace = true
|
||||
image.optional = true
|
||||
ipaddress.workspace = true
|
||||
itertools.workspace = true
|
||||
jsonwebtoken.workspace = true
|
||||
|
@ -73,6 +81,7 @@ tokio.workspace = true
|
|||
tracing.workspace = true
|
||||
url.workspace = true
|
||||
webpage.workspace = true
|
||||
webpage.optional = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue