From 67bd63dc6b23d8f7bd8d1f5abc181705be3007f0 Mon Sep 17 00:00:00 2001 From: Bytemalte Date: Tue, 30 Dec 2025 19:18:03 +0100 Subject: [PATCH] Android dependencie update --- Cargo.toml | 8 ++++---- src-tauri/Cargo.toml | 9 +++------ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c6a7b92..4e4fb81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,20 +3,20 @@ name = "marstemedia-ui" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] yew = { version = "0.21", features = ["csr"] } yew-router = "0.18" wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" -web-sys = { version = "0.3", features = ["Window", "ScrollToOptions", "ScrollBehavior"] } +web-sys = { version = "0.3", features = ["Window", "ScrollToOptions", "ScrollBehavior", "HtmlInputElement", "MouseEvent"] } js-sys = "0.3" serde = { version = "1", features = ["derive"] } serde-wasm-bindgen = "0.6" console_error_panic_hook = "0.1.7" -serde_json = "1.0.148" +serde_json = "1.0" gloo-timers = "0.3.0" -reqwest = { version = "0.13.0", features = ["json"] } +# Umgestellt auf rustls, um OpenSSL-Fehler beim Cross-Compiling zu vermeiden +reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } pulldown-cmark = "0.13.0" [workspace] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 919e8ef..a94970c 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -5,12 +5,7 @@ description = "A Tauri App" authors = ["you"] edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [lib] -# The `_lib` suffix may seem redundant but it is necessary -# to make the lib name unique and wouldn't conflict with the bin name. -# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519 name = "marstemedia_lib" crate-type = ["staticlib", "cdylib", "rlib"] @@ -24,4 +19,6 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" easy-nostr = { path = "./easy-nostr" } tokio = { version = "1", features = ["full"] } -reqwest = { version = "0.12", features = ["json"] } + +# FIX: default-features entfernt und rustls-tls hinzugefügt +reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }