diff --git a/Cargo.lock b/Cargo.lock index 8ea3479..7cc787d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -467,9 +467,9 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfb77c123b4e2f72a2069aeae0b4b4949cc7e966df277813fc16347e7549737" +checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9" dependencies = [ "bytes", "http", @@ -607,7 +607,7 @@ checksum = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e" [[package]] name = "libreddit" -version = "0.11.0" +version = "0.11.1" dependencies = [ "askama", "async-recursion", @@ -838,9 +838,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.3" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce5f1ceb7f74abbce32601642fcf8e8508a8a8991e0621c7d750295b9095702b" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" dependencies = [ "aho-corasick", "memchr", @@ -1327,9 +1327,9 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "url" -version = "2.2.1" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ccd964113622c8e9322cfac19eb1004a07e636c545f325da085d5cdde6f1f8b" +checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" dependencies = [ "form_urlencoded", "idna", diff --git a/Cargo.toml b/Cargo.toml index 0c30f3b..470f7c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "libreddit" description = " Alternative private front-end to Reddit" license = "AGPL-3.0" repository = "https://github.com/spikecodes/libreddit" -version = "0.11.0" +version = "0.11.1" authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] edition = "2018" @@ -12,7 +12,7 @@ askama = { version = "0.10.5", default-features = false } async-recursion = "0.3.2" cached = "0.23.0" clap = { version = "2.33.3", default-features = false } -regex = "1.5.3" +regex = "1.5.4" serde = { version = "1.0.125", features = ["derive"] } cookie = "0.15.0" futures-lite = "1.11.3" @@ -22,4 +22,4 @@ route-recognizer = "0.3.0" serde_json = "1.0.64" tokio = { version = "1.5.0", features = ["full"] } time = "0.2.26" -url = "2.2.1" +url = "2.2.2" diff --git a/src/utils.rs b/src/utils.rs index dc9555b..3a905a6 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -459,7 +459,7 @@ pub fn rewrite_urls(input_text: &str) -> String { } else { text1 } - }, + } Err(_) => String::new(), } }