-- Leo's gemini proxy

-- Connecting to typed-hole.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

commit 58dd5d5472ec29abfa0e7475dceafa4cc5d637d0

Author: Julien Blanchard <julien@sideburns.eu>

Date: Tue Dec 24 17:06:11 2019 +0100


Clippy and udeps pass


diff --git a/Cargo.lock b/Cargo.lock

index eec952b..7a98f60 100644

--- a/Cargo.lock

+++ b/Cargo.lock

@@ -137,7 +137,6 @@ dependencies = [

"glib 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",

"glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",

"gtk 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",

- "json 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",

"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",

"native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",

"open 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",

@@ -498,11 +497,6 @@ dependencies = [

]


[[package]]

-name = "json"

-version = "0.12.0"

-source = "registry+https://github.com/rust-lang/crates.io-index"

-

-[[package]]

name = "lazy_static"

version = "1.4.0"

source = "registry+https://github.com/rust-lang/crates.io-index"

@@ -977,7 +971,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"

"checksum gtk 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7cd1d646cc9a2cb795f33b538779a3f22e71dc172f2aba08a41e84a2f72c0dec"

"checksum gtk-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53def660c7b48b00b510c81ef2d2fbd3c570f1527081d8d7947f471513e1a4c1"

"checksum idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"

-"checksum json 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b3ca41abbeb7615d56322a984e63be5e5d0a117dfaca86c14393e32a762ccac1"

"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"

"checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"

"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"

diff --git a/Cargo.toml b/Cargo.toml

index 9d15c9f..0ba960a 100644

--- a/Cargo.toml

+++ b/Cargo.toml

@@ -1,7 +1,7 @@

[package]

name = "castor"

version = "0.1.0"

-authors = ["Julien Blanchard <julien@sideburns.eu>"]

+authors = ["Julien Blanchard <julien@typed-hole.org>"]

edition = "2018"


See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

@@ -13,7 +13,6 @@ gio = "*"

glib = "*"

glib-sys = "*"

pango = "*"

-json = "*"

open = "*"

regex = "*"

native-tls = "*"

diff --git a/src/castor.glade b/src/castor.glade

index fd58cea..96fb44f 100644

--- a/src/castor.glade

+++ b/src/castor.glade

@@ -23,11 +23,10 @@

</object>

<object class="GtkApplicationWindow" id="window">

<property name="can_focus">False</property>

- <property name="title" translatable="yes">Castor - Gemini Browser</property>

<property name="window_position">center</property>

<property name="default_width">400</property>

<property name="default_height">480</property>

- <child>

+ <child type="titlebar">

<placeholder/>

</child>

<child>

diff --git a/src/main.rs b/src/main.rs

index 2dde5b5..0e32179 100644

--- a/src/main.rs

+++ b/src/main.rs

@@ -123,7 +123,7 @@ fn visit_url(gui: &Arc<Gui>, url: String) {

{

let content_view = gui.content_view();


- if url == String::from("gemini://::bookmarks") {

+ if url == "gemini://::bookmarks" {

show_bookmarks(&gui);

return

}



---

Served by Pollux Gemini Server.

-- Response ended

-- Page fetched on Sun May 19 07:03:33 2024