diff --git a/Cargo.toml b/Cargo.toml index 00580c70..6fe91402 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ features = ["v1_6"] [dependencies.gemini] package = "ggemini" -version = "0.3.0" +version = "0.4.0" [dependencies.gemtext] package = "ggemtext" diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 95fa3749..30f68197 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -189,7 +189,7 @@ impl Page { // Define local NS use gemini::client::{ response::header::{Mime as ResponseMime, Status as ResponseStatus}, - simple_socket_request_async, + single_socket_request_async, }; // Update page status @@ -197,7 +197,7 @@ impl Page { action_update.activate(Some(&id)); // Begin request - simple_socket_request_async(uri.clone(), move |result| match result { + single_socket_request_async(uri.clone(), move |result| match result { Ok(response) => { // Update page meta meta.borrow_mut().status = Some(Status::Connected);