mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-19 16:41:34 +03:00
Co-authored-by: Davide Baldo <davide@baldo.me> Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
parent
e05cd940d6
commit
eeff1784e1
5
.changes/kuchikiki.md
Normal file
5
.changes/kuchikiki.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"tauri-utils": patch:sec
|
||||||
|
---
|
||||||
|
|
||||||
|
Changed HTML implementation from unmaintained `kuchiki` to `kuchikiki`.
|
@ -18,8 +18,8 @@ thiserror = "1"
|
|||||||
phf = { version = "0.10", features = [ "macros" ] }
|
phf = { version = "0.10", features = [ "macros" ] }
|
||||||
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
|
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
|
||||||
url = { version = "2", features = [ "serde" ] }
|
url = { version = "2", features = [ "serde" ] }
|
||||||
kuchiki = "0.8"
|
html5ever = "0.26"
|
||||||
html5ever = "0.25"
|
kuchiki = { package = "kuchikiki", version = "0.8" }
|
||||||
proc-macro2 = { version = "1", optional = true }
|
proc-macro2 = { version = "1", optional = true }
|
||||||
quote = { version = "1", optional = true }
|
quote = { version = "1", optional = true }
|
||||||
schemars = { version = "0.8", features = [ "url" ], optional = true }
|
schemars = { version = "0.8", features = [ "url" ], optional = true }
|
||||||
|
@ -302,7 +302,7 @@ mod tests {
|
|||||||
assert_eq!(
|
assert_eq!(
|
||||||
document.to_string(),
|
document.to_string(),
|
||||||
format!(
|
format!(
|
||||||
r#"<html><head><meta content="{}" http-equiv="Content-Security-Policy"></head><body></body></html>"#,
|
r#"<html><head><meta http-equiv="Content-Security-Policy" content="{}"></head><body></body></html>"#,
|
||||||
super::CSP_TOKEN
|
super::CSP_TOKEN
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -76,8 +76,8 @@ env_logger = "0.9.1"
|
|||||||
icns = { package = "tauri-icns", version = "0.1" }
|
icns = { package = "tauri-icns", version = "0.1" }
|
||||||
image = { version = "0.24", default-features = false, features = [ "ico" ] }
|
image = { version = "0.24", default-features = false, features = [ "ico" ] }
|
||||||
axum = { version = "0.5.16", features = [ "ws" ] }
|
axum = { version = "0.5.16", features = [ "ws" ] }
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
kuchiki = "0.8"
|
kuchiki = { package = "kuchikiki", version = "0.8" }
|
||||||
tokio = { version = "1", features = [ "macros", "sync" ] }
|
tokio = { version = "1", features = [ "macros", "sync" ] }
|
||||||
common-path = "1"
|
common-path = "1"
|
||||||
serde-value = "0.7.0"
|
serde-value = "0.7.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user