From 138cfdb68c15700c8b260373c8410969a396ad0a Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sat, 10 Feb 2018 05:45:50 +0200 Subject: [PATCH 01/16] EpisodeWidget: use debug! instead of error! to avoid spamming stderr with *not actuall* errors. --- hammond-gtk/src/widgets/episode.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hammond-gtk/src/widgets/episode.rs b/hammond-gtk/src/widgets/episode.rs index 491f113..e34c9a6 100644 --- a/hammond-gtk/src/widgets/episode.rs +++ b/hammond-gtk/src/widgets/episode.rs @@ -117,8 +117,8 @@ impl EpisodeWidget { // Show or hide the play/delete/download buttons upon widget initialization. if let Err(err) = self.show_buttons(episode.local_uri()) { - error!("Failed to determine play/download button state."); - error!("Error: {}", err); + debug!("Failed to determine play/download button state."); + debug!("Error: {}", err); } // Set the size label. From 48071c28a7b59c395c80520faa5886efc85ac2fc Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sat, 10 Feb 2018 09:26:08 +0200 Subject: [PATCH 02/16] AboutDialog: Add a temporary icon, and update contributors list. --- hammond-gtk/src/headerbar.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hammond-gtk/src/headerbar.rs b/hammond-gtk/src/headerbar.rs index 5b0c747..15c6b83 100644 --- a/hammond-gtk/src/headerbar.rs +++ b/hammond-gtk/src/headerbar.rs @@ -209,15 +209,17 @@ fn on_url_change( fn about_dialog(window: >k::Window) { // Feel free to add yourself if you contribured. let authors = &[ + "Constantin Nickel", + "Gabriele Musco", + "James Wykeham-Martin", "Jordan Petridis", "Julian Sparber", - "Gabriele Musco", - "Constantin Nickel", ]; let dialog = gtk::AboutDialog::new(); // Waiting for a logo. - dialog.set_logo_icon_name("org.gnome.Hammond"); + // dialog.set_logo_icon_name("org.gnome.Hammond"); + dialog.set_logo_icon_name("multimedia-player"); dialog.set_comments("A Podcast Client for the GNOME Desktop."); dialog.set_copyright("© 2017, 2018 Jordan Petridis"); dialog.set_license_type(gtk::License::Gpl30); From 65a080ed1d46b303d02abcbe3f6de6bb4718f263 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sat, 10 Feb 2018 22:42:13 +0200 Subject: [PATCH 03/16] Readme: Fix rustup link. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 240608d..207a6bf 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Get Builder [here](https://wiki.gnome.org/Apps/Builder/Downloads) Manually: The following steps assume you have a working installation of rustc and cargo. -If you dont take a look at [rustup.rs](rustup.rs) +If you dont take a look at [rustup.rs](https://rustup.rs/) ```sh git clone https://gitlab.gnome.org/alatiera/hammond.git From dcc4eae27e634fc976a90b54baccfcc468068647 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 11 Feb 2018 00:54:17 +0200 Subject: [PATCH 04/16] Use Gnome Nightly Sdk for the flatpak manifest. --- README.md | 8 ++++++-- org.gnome.Hammond.json | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 207a6bf..9a52872 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,12 @@ Flatpak is the reccomended way of building and installing Hammond. Download the `org.gnome.Hammond.json` flatpak manifest from this repo. ```bash -flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo # Add flathub repo -flatpak --user install flathub org.freedesktop.Sdk.Extension.rust-stable # Install the required rust-stable extension from flathub +# Add flathub repo +flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +# Add the gnome-nightly repo +flatpak --user remote-add gnome-nightly https://sdk.gnome.org/gnome-nightly.flatpakrepo +# Install the required rust-stable extension from flathub +flatpak --user install flathub org.freedesktop.Sdk.Extension.rust-stable flatpak-builder --repo=repo hammond org.gnome.Hammond.json --force-clean flatpak build-bundle repo hammond org.gnome.Hammond ``` diff --git a/org.gnome.Hammond.json b/org.gnome.Hammond.json index 705b035..a27cc2c 100644 --- a/org.gnome.Hammond.json +++ b/org.gnome.Hammond.json @@ -1,12 +1,16 @@ { "app-id" : "org.gnome.Hammond", "runtime" : "org.gnome.Platform", - "runtime-version" : "3.26", + "runtime-version" : "master", "sdk" : "org.gnome.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.rust-stable" ], "command" : "hammond", + "tags" : [ + "nightly" + ], + "desktop-file-name-prefix" : "(Nightly) ", "finish-args" : [ "--share=network", "--share=ipc", From b6a71688c07cd87d59cffceca367729a51ff712d Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 11 Feb 2018 22:57:37 +0200 Subject: [PATCH 05/16] Version bump to 0.3 --- CHANGELOG.md | 18 +++++++++++++++--- .../2017-09-15-001128_init_schema/up.sql | 5 ----- .../resources/org.gnome.Hammond.appdata.xml | 2 +- meson.build | 2 +- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31086ac..cbf5e9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [0.3.0] - xxxx-01-xx +## [0.3.0] - 2018-02-11 -No Notes where provided prior to this release. +* Tobias Bernard Redesigned the whole Gtk+ client. +* Complete re-write of hammond-data and hammond-gtk modules. +* Error handling for all crates was migrated from error-chain to Failure. +* Hammond-data now uses futures to parse feeds. +* Custom gtk-widgets are now composed structs as opposed to functions returning Gtk widgets. ## [0.2.0] - 2017-11-28 -No Notes where provided prior to this release. +* Database Schema Breaking Changes. +* Added url sanitization. #4. +* Reworked and refactored of the hammond-data API. +* Added some more unit tests +* Documented hammond-data public API. + +## [0.1.1] - 2017-11-13 + +* Added appdata.xml file ## [0.1.0] - 2017-11-13 diff --git a/hammond-data/migrations/2017-09-15-001128_init_schema/up.sql b/hammond-data/migrations/2017-09-15-001128_init_schema/up.sql index 62df22b..4cee791 100644 --- a/hammond-data/migrations/2017-09-15-001128_init_schema/up.sql +++ b/hammond-data/migrations/2017-09-15-001128_init_schema/up.sql @@ -1,8 +1,3 @@ --- Till version 0.2 is released the plan is to edited directly and dont expect --- any kind of non-braking changes. --- After there is a stable prototype, Only diesel migrations will be used --- in order to change the db schema. - CREATE TABLE `source` ( `id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE, `uri` TEXT NOT NULL UNIQUE, diff --git a/hammond-gtk/resources/org.gnome.Hammond.appdata.xml b/hammond-gtk/resources/org.gnome.Hammond.appdata.xml index 2cbc51a..f2364fc 100644 --- a/hammond-gtk/resources/org.gnome.Hammond.appdata.xml +++ b/hammond-gtk/resources/org.gnome.Hammond.appdata.xml @@ -17,7 +17,7 @@ - + jordanpetridis@protonmail.com diff --git a/meson.build b/meson.build index 8ee072d..b104829 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'hammond', 'rust', - version: '0.2.0', + version: '0.3.0', license: 'GPLv3', ) From 20162a16a8a9fa522e29bf9eaa90ad624a30c154 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 14 Feb 2018 07:03:26 +0200 Subject: [PATCH 06/16] EpisodesView: Re-work box/frame layout Restrict horizontal scrolling, Allow the episode widget to expand along when more space becomes available. --- hammond-gtk/resources/gtk/episode_widget.ui | 34 +++++------ hammond-gtk/resources/gtk/episodes_view.ui | 66 ++++++++++++++------- 2 files changed, 58 insertions(+), 42 deletions(-) diff --git a/hammond-gtk/resources/gtk/episode_widget.ui b/hammond-gtk/resources/gtk/episode_widget.ui index 3956f96..b26d251 100644 --- a/hammond-gtk/resources/gtk/episode_widget.ui +++ b/hammond-gtk/resources/gtk/episode_widget.ui @@ -33,7 +33,6 @@ Tobias Bernard True False - center vertical @@ -43,22 +42,18 @@ Tobias Bernard True False - start vertical 6 True False - start True False Episode Title - end True - 64 False 1 0 @@ -66,14 +61,14 @@ Tobias Bernard False - True + False 0 False - True + False 0 @@ -81,7 +76,6 @@ Tobias Bernard True False - start 6 @@ -96,7 +90,7 @@ Tobias Bernard False - True + False 0 @@ -112,7 +106,7 @@ Tobias Bernard False - True + False 1 @@ -129,7 +123,7 @@ Tobias Bernard False - True + False 2 @@ -145,7 +139,7 @@ Tobias Bernard False - True + False 3 @@ -162,7 +156,7 @@ Tobias Bernard False - True + False 4 @@ -179,7 +173,7 @@ Tobias Bernard False - True + False 5 @@ -196,21 +190,21 @@ Tobias Bernard False - True + False 6 False - True + False 1 False - True + False 6 0 @@ -242,7 +236,6 @@ Tobias Bernard True True Download this episode - end center True @@ -285,7 +278,7 @@ Tobias Bernard False - True + False 6 end 1 @@ -293,7 +286,7 @@ Tobias Bernard - True + False False 6 0 @@ -306,6 +299,7 @@ Tobias Bernard 6 6 6 + True 0 diff --git a/hammond-gtk/resources/gtk/episodes_view.ui b/hammond-gtk/resources/gtk/episodes_view.ui index e7c4cdd..741f79f 100644 --- a/hammond-gtk/resources/gtk/episodes_view.ui +++ b/hammond-gtk/resources/gtk/episodes_view.ui @@ -38,8 +38,11 @@ Tobias Bernard scrolled_window + 600 + 600 True True + never in @@ -49,30 +52,31 @@ Tobias Bernard True False - center True False + True vertical - True + False False 0 - 720 True False - center - 24 - 24 + 32 + 32 + 32 + 32 + True vertical 24 @@ -80,6 +84,7 @@ Tobias Bernard True False True + True vertical 6 @@ -87,6 +92,7 @@ Tobias Bernard True False start + True Today @@ -95,7 +101,7 @@ Tobias Bernard False - True + False 0 @@ -103,12 +109,14 @@ Tobias Bernard True False + True 0 in True False + True none @@ -118,14 +126,14 @@ Tobias Bernard False - True + False 1 False - True + False 0 @@ -134,6 +142,7 @@ Tobias Bernard True False True + True vertical 6 @@ -149,7 +158,7 @@ Tobias Bernard False - True + False 0 @@ -157,12 +166,14 @@ Tobias Bernard True False + True 0 in True False + True none @@ -172,14 +183,14 @@ Tobias Bernard False - True + False 1 False - True + False 1 @@ -188,6 +199,7 @@ Tobias Bernard True False True + True vertical 6 @@ -203,7 +215,7 @@ Tobias Bernard False - True + False 0 @@ -211,12 +223,14 @@ Tobias Bernard True False + True 0 in True False + True none @@ -226,14 +240,14 @@ Tobias Bernard False - True + False 1 False - True + False 2 @@ -242,6 +256,7 @@ Tobias Bernard True False True + True vertical 6 @@ -257,7 +272,7 @@ Tobias Bernard False - True + False 0 @@ -265,12 +280,14 @@ Tobias Bernard True False + True 0 in True False + True none @@ -280,14 +297,14 @@ Tobias Bernard False - True + False 1 False - True + False 3 @@ -296,6 +313,7 @@ Tobias Bernard True False True + True vertical 6 @@ -303,6 +321,7 @@ Tobias Bernard True False start + True Older @@ -311,7 +330,7 @@ Tobias Bernard False - True + False 0 @@ -319,6 +338,7 @@ Tobias Bernard True False + True 0 in @@ -326,6 +346,7 @@ Tobias Bernard True False True + True none @@ -335,14 +356,14 @@ Tobias Bernard False - True + False 1 False - True + False 5 @@ -357,13 +378,14 @@ Tobias Bernard True False + True vertical - True + False False 2 From f4b41d0fd3b02a288ffb070e8578cedc3ecf2d8a Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 14 Feb 2018 07:56:27 +0200 Subject: [PATCH 07/16] ShowWidget: Restrict horizontal scrolling. Relevant to #35. --- hammond-gtk/resources/gtk/show_widget.ui | 200 ++++++++++++----------- 1 file changed, 101 insertions(+), 99 deletions(-) diff --git a/hammond-gtk/resources/gtk/show_widget.ui b/hammond-gtk/resources/gtk/show_widget.ui index 887a98b..f682423 100644 --- a/hammond-gtk/resources/gtk/show_widget.ui +++ b/hammond-gtk/resources/gtk/show_widget.ui @@ -39,6 +39,7 @@ Tobias Bernard scrolled_window True True + never in @@ -48,170 +49,168 @@ Tobias Bernard True False + True center - 24 - 24 + 32 + 32 + 32 + 32 + True True False + True vertical - True + False False 0 - 624 True False center + True vertical 24 True False + True 0 none True False - vertical + center + True + 12 + + + True + False + 128 + image-x-generic-symbolic + + + False + False + 0 + + True False - center - 12 - - + end + True + vertical + 6 + + True False - 128 - image-x-generic-symbolic + start + end + True + Show description + True + word-char + 70 + + + False - True - 0 + False + 1 True False - vertical - 12 - - + 6 + + True - False - start - end - Show description - True - 57 - - - + True + True + + + True + False + center + center + emblem-system-symbolic + + False - False - end + True + 0 + + + + + Website + True + True + True + center + center + + + False + True + 5 1 - + + Unsubscribe True - False - 5 - - - True - True - True - - - True - False - center - center - emblem-system-symbolic - - - - - False - True - 0 - - - - - Website - True - True - True - center - center - - - False - True - 5 - 1 - - - - - Unsubscribe - True - True - True - center - center - - - - False - True - 5 - end - 2 - - + True + True + center + center + False - False + True + 5 end - 0 + 2 - True - True - 1 + False + False + end + 0 False - False - 0 + True + 1 @@ -222,14 +221,16 @@ Tobias Bernard False - True + False 0 + 700 True False + True 0 in @@ -241,14 +242,14 @@ Tobias Bernard False - True + False 1 False - True + False 1 @@ -256,13 +257,14 @@ Tobias Bernard True False + True vertical - True + False False 2 From 978edfc11f9e9bfa40f348995895c431fbf179d3 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 14 Feb 2018 08:04:59 +0200 Subject: [PATCH 08/16] EpisodeWidget: Allow the title to ellipsize. Releavnt to #35. --- hammond-gtk/resources/gtk/episode_widget.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/hammond-gtk/resources/gtk/episode_widget.ui b/hammond-gtk/resources/gtk/episode_widget.ui index b26d251..2dbfdaf 100644 --- a/hammond-gtk/resources/gtk/episode_widget.ui +++ b/hammond-gtk/resources/gtk/episode_widget.ui @@ -53,6 +53,7 @@ Tobias Bernard True False Episode Title + end True False 1 From 8913b7aedbb8812185832a4a7a502347d63dc0b0 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 14 Feb 2018 08:44:02 +0200 Subject: [PATCH 09/16] SHowWidet: Experiement with dynamic size. Relevant to #35. --- hammond-gtk/resources/gtk/show_widget.ui | 195 +++++++++++------------ 1 file changed, 91 insertions(+), 104 deletions(-) diff --git a/hammond-gtk/resources/gtk/show_widget.ui b/hammond-gtk/resources/gtk/show_widget.ui index f682423..8ec1c99 100644 --- a/hammond-gtk/resources/gtk/show_widget.ui +++ b/hammond-gtk/resources/gtk/show_widget.ui @@ -50,11 +50,6 @@ Tobias Bernard True False True - center - 32 - 32 - 32 - 32 True @@ -74,160 +69,151 @@ Tobias Bernard + 600 True False - center + 32 + 32 + 32 + 32 True vertical 24 - + True False + center True - 0 - none + 12 + + + True + False + 128 + image-x-generic-symbolic + + + False + False + 0 + + True False - center + end True - 12 - - + vertical + 6 + + True False - 128 - image-x-generic-symbolic + start + end + True + Show description + True + word-char + 70 + + + False False - 0 + 1 True False - end - True - vertical 6 - - + + True - False - start - end - True - Show description - True - word-char - 70 - - - + True + True + + + True + False + center + center + emblem-system-symbolic + + False - False + True + 0 + + + + + Website + True + True + True + center + center + + + False + True + 5 1 - + + Unsubscribe True - False - 6 - - - True - True - True - - - True - False - center - center - emblem-system-symbolic - - - - - False - True - 0 - - - - - Website - True - True - True - center - center - - - False - True - 5 - 1 - - - - - Unsubscribe - True - True - True - center - center - - - - False - True - 5 - end - 2 - - + True + True + center + center + False - False + True + 5 end - 0 + 2 False - True - 1 + False + end + 0 - - - + + False + True + 1 + False - False + True 0 - 700 True False True @@ -242,14 +228,14 @@ Tobias Bernard False - False + True 1 False - False + True 1 @@ -266,6 +252,7 @@ Tobias Bernard False False + end 2 From a24c9b135087caadfb215b5ad0eb6b4559deeacc Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 14 Feb 2018 12:44:30 +0200 Subject: [PATCH 10/16] EpisodesView: Fix EpisodeWidget spacing. --- hammond-gtk/resources/gtk/episodes_view.ui | 5 +++-- hammond-gtk/resources/gtk/show_widget.ui | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hammond-gtk/resources/gtk/episodes_view.ui b/hammond-gtk/resources/gtk/episodes_view.ui index 741f79f..111075e 100644 --- a/hammond-gtk/resources/gtk/episodes_view.ui +++ b/hammond-gtk/resources/gtk/episodes_view.ui @@ -38,8 +38,7 @@ Tobias Bernard scrolled_window - 600 - 600 + 400 True True never @@ -70,6 +69,8 @@ Tobias Bernard + 600 + -1 True False 32 diff --git a/hammond-gtk/resources/gtk/show_widget.ui b/hammond-gtk/resources/gtk/show_widget.ui index 8ec1c99..41a93c0 100644 --- a/hammond-gtk/resources/gtk/show_widget.ui +++ b/hammond-gtk/resources/gtk/show_widget.ui @@ -113,11 +113,9 @@ Tobias Bernard False start end - True Show description True word-char - 70 @@ -132,6 +130,7 @@ Tobias Bernard True False + True 6 @@ -228,7 +227,7 @@ Tobias Bernard False - True + False 1 From e803e11c818289a1a67946c0e3bd8a4f00074230 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 15 Feb 2018 11:56:56 +0200 Subject: [PATCH 11/16] Fix EpisodeWidget Vertical alignment. --- hammond-gtk/resources/gtk/episode_widget.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/hammond-gtk/resources/gtk/episode_widget.ui b/hammond-gtk/resources/gtk/episode_widget.ui index 2dbfdaf..82ce638 100644 --- a/hammond-gtk/resources/gtk/episode_widget.ui +++ b/hammond-gtk/resources/gtk/episode_widget.ui @@ -33,6 +33,7 @@ Tobias Bernard True False + center vertical From 038d28779c4f49722b575bc6bee838aef6e0c186 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 16 Feb 2018 07:45:29 +0200 Subject: [PATCH 12/16] ShowWidget: Limit description to 100 chars width. --- hammond-gtk/resources/gtk/show_widget.ui | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/hammond-gtk/resources/gtk/show_widget.ui b/hammond-gtk/resources/gtk/show_widget.ui index 41a93c0..fca068c 100644 --- a/hammond-gtk/resources/gtk/show_widget.ui +++ b/hammond-gtk/resources/gtk/show_widget.ui @@ -24,7 +24,7 @@ Tobias Bernard --> - + @@ -76,7 +76,7 @@ Tobias Bernard 32 32 32 - True + False vertical 24 @@ -84,7 +84,6 @@ Tobias Bernard True False center - True 12 @@ -116,6 +115,7 @@ Tobias Bernard Show description True word-char + 100 @@ -130,7 +130,6 @@ Tobias Bernard True False - True 6 @@ -207,7 +206,7 @@ Tobias Bernard False - True + False 0 From ae25dd65bfb6c4a92ee4f757567f38617ed04fb6 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 19 Feb 2018 09:58:47 +0000 Subject: [PATCH 13/16] Cargo clippy and fmt. --- hammond-data/src/feed.rs | 2 +- hammond-data/src/models/episode.rs | 9 ++++++--- hammond-data/src/models/mod.rs | 3 ++- hammond-data/src/models/new_episode.rs | 7 ++++--- hammond-data/src/models/new_podcast.rs | 3 ++- hammond-data/src/models/podcast.rs | 3 ++- hammond-data/src/models/source.rs | 26 ++++++++++++++++++-------- hammond-data/src/pipeline.rs | 3 ++- hammond-data/src/utils.rs | 3 ++- hammond-downloader/src/downloader.rs | 10 +++++++--- hammond-downloader/src/lib.rs | 2 ++ hammond-gtk/src/app.rs | 2 ++ hammond-gtk/src/main.rs | 6 ++++-- hammond-gtk/src/stacks/show.rs | 5 +++-- hammond-gtk/src/static_resource.rs | 6 ++++-- hammond-gtk/src/utils.rs | 23 +++++++++++------------ hammond-gtk/src/views/shows.rs | 11 ++++------- hammond-gtk/src/widgets/episode.rs | 4 +++- hammond-gtk/src/widgets/show.rs | 3 ++- 19 files changed, 81 insertions(+), 50 deletions(-) diff --git a/hammond-data/src/feed.rs b/hammond-data/src/feed.rs index 151234d..4d135ed 100644 --- a/hammond-data/src/feed.rs +++ b/hammond-data/src/feed.rs @@ -96,7 +96,7 @@ impl Feed { // I am not sure what the optimizations are on match vs allocating None. .map(|fut| { fut.and_then(|x| match x { - IndexState::NotChanged => return Err(DataError::EpisodeNotChanged), + IndexState::NotChanged => Err(DataError::EpisodeNotChanged), _ => Ok(x), }) }) diff --git a/hammond-data/src/models/episode.rs b/hammond-data/src/models/episode.rs index 65dafaa..0f22702 100644 --- a/hammond-data/src/models/episode.rs +++ b/hammond-data/src/models/episode.rs @@ -32,7 +32,8 @@ pub struct Episode { } impl Save for Episode { - /// Helper method to easily save/"sync" current state of self to the Database. + /// Helper method to easily save/"sync" current state of self to the + /// Database. fn save(&self) -> Result { let db = connection(); let tempdb = db.get()?; @@ -224,7 +225,8 @@ impl From for EpisodeWidgetQuery { } impl Save for EpisodeWidgetQuery { - /// Helper method to easily save/"sync" current state of self to the Database. + /// Helper method to easily save/"sync" current state of self to the + /// Database. fn save(&self) -> Result { use schema::episode::dsl::*; @@ -362,7 +364,8 @@ pub struct EpisodeCleanerQuery { } impl Save for EpisodeCleanerQuery { - /// Helper method to easily save/"sync" current state of self to the Database. + /// Helper method to easily save/"sync" current state of self to the + /// Database. fn save(&self) -> Result { use schema::episode::dsl::*; diff --git a/hammond-data/src/models/mod.rs b/hammond-data/src/models/mod.rs index 10f19ed..74abd18 100644 --- a/hammond-data/src/models/mod.rs +++ b/hammond-data/src/models/mod.rs @@ -45,6 +45,7 @@ pub trait Index: Insert + Update { /// FIXME: DOCS pub trait Save { - /// Helper method to easily save/"sync" current state of a diesel model to the Database. + /// Helper method to easily save/"sync" current state of a diesel model to + /// the Database. fn save(&self) -> Result; } diff --git a/hammond-data/src/models/new_episode.rs b/hammond-data/src/models/new_episode.rs index 7cc56c7..b0ce47c 100644 --- a/hammond-data/src/models/new_episode.rs +++ b/hammond-data/src/models/new_episode.rs @@ -74,7 +74,8 @@ impl Update<(), DataError> for NewEpisode { } impl Index<(), DataError> for NewEpisode { - // Does not update the episode description if it's the only thing that has changed. + // Does not update the episode description if it's the only thing that has + // changed. fn index(&self) -> Result<(), DataError> { let exists = dbqueries::episode_exists(self.title(), self.podcast_id())?; @@ -185,7 +186,7 @@ impl NewEpisodeMinimal { pub(crate) fn new(item: &rss::Item, parent_id: i32) -> Result { if item.title().is_none() { let err = DataError::ParseEpisodeError { - reason: format!("No title specified for this Episode."), + reason: "No title specified for this Episode.".into(), parent_id, }; @@ -201,7 +202,7 @@ impl NewEpisodeMinimal { item.link().map(|s| url_cleaner(s)) } else { let err = DataError::ParseEpisodeError { - reason: format!("No url specified for the item."), + reason: "No url specified for the item.".into(), parent_id, }; diff --git a/hammond-data/src/models/new_podcast.rs b/hammond-data/src/models/new_podcast.rs index c3e9632..ce2d1c6 100644 --- a/hammond-data/src/models/new_podcast.rs +++ b/hammond-data/src/models/new_podcast.rs @@ -343,7 +343,8 @@ mod tests { #[test] // TODO: Add more test/checks // Currently there's a test that only checks new description or title. - // If you have time and want to help, implement the test for the other fields too. + // If you have time and want to help, implement the test for the other fields + // too. fn test_new_podcast_update() { truncate_db().unwrap(); let old = EXPECTED_INTERCEPTED.to_podcast().unwrap(); diff --git a/hammond-data/src/models/podcast.rs b/hammond-data/src/models/podcast.rs index 67a8065..1ecb43a 100644 --- a/hammond-data/src/models/podcast.rs +++ b/hammond-data/src/models/podcast.rs @@ -26,7 +26,8 @@ pub struct Podcast { } impl Save for Podcast { - /// Helper method to easily save/"sync" current state of self to the Database. + /// Helper method to easily save/"sync" current state of self to the + /// Database. fn save(&self) -> Result { let db = connection(); let tempdb = db.get()?; diff --git a/hammond-data/src/models/source.rs b/hammond-data/src/models/source.rs index 92ec4cb..c8d77e1 100644 --- a/hammond-data/src/models/source.rs +++ b/hammond-data/src/models/source.rs @@ -34,7 +34,8 @@ pub struct Source { } impl Save for Source { - /// Helper method to easily save/"sync" current state of self to the Database. + /// Helper method to easily save/"sync" current state of self to the + /// Database. fn save(&self) -> Result { let db = connection(); let con = db.get()?; @@ -119,7 +120,7 @@ impl Source { let err = DataError::HttpStatusError { url: self.uri, status_code: code, - context: format!("304: skipping.."), + context: "304: skipping..".into(), }; return Err(err); @@ -131,7 +132,7 @@ impl Source { let err = DataError::HttpStatusError { url: self.uri, status_code: code, - context: format!("301: Feed was moved permanently."), + context: "301: Feed was moved permanently.".into(), }; return Err(err); @@ -142,7 +143,7 @@ impl Source { let err = DataError::HttpStatusError { url: self.uri, status_code: code, - context: format!("401: Unauthorized."), + context: "401: Unauthorized.".into(), }; return Err(err); @@ -151,17 +152,25 @@ impl Source { let err = DataError::HttpStatusError { url: self.uri, status_code: code, - context: format!("403: Forbidden."), + context: "403: Forbidden.".into(), + }; + + return Err(err); + } + StatusCode::NotFound => { + let err = DataError::HttpStatusError { + url: self.uri, + status_code: code, + context: "404: Not found.".into(), }; return Err(err); } - StatusCode::NotFound => return Err(format!("404: Not found.")).map_err(From::from), StatusCode::RequestTimeout => { let err = DataError::HttpStatusError { url: self.uri, status_code: code, - context: format!("408: Request Timeout."), + context: "408: Request Timeout.".into(), }; return Err(err); @@ -170,7 +179,7 @@ impl Source { let err = DataError::HttpStatusError { url: self.uri, status_code: code, - context: format!("410: Feed was deleted.."), + context: "410: Feed was deleted..".into(), }; return Err(err); @@ -267,6 +276,7 @@ impl Source { } } +#[allow(needless_pass_by_value)] fn response_to_channel( res: Response, pool: CpuPool, diff --git a/hammond-data/src/pipeline.rs b/hammond-data/src/pipeline.rs index 893bc23..22dab65 100644 --- a/hammond-data/src/pipeline.rs +++ b/hammond-data/src/pipeline.rs @@ -67,7 +67,8 @@ pub fn pipeline>( Ok(()) } -/// Creates a tokio `reactor::Core`, a `CpuPool`, and a `hyper::Client` and runs the pipeline. +/// Creates a tokio `reactor::Core`, a `CpuPool`, and a `hyper::Client` and +/// runs the pipeline. pub fn run(sources: Vec, ignore_etags: bool) -> Result<(), DataError> { if sources.is_empty() { return Ok(()); diff --git a/hammond-data/src/utils.rs b/hammond-data/src/utils.rs index 5ce5e66..b19e76c 100644 --- a/hammond-data/src/utils.rs +++ b/hammond-data/src/utils.rs @@ -14,7 +14,8 @@ use xdg_dirs::DL_DIR; use std::fs; use std::path::Path; -/// Scan downloaded `episode` entries that might have broken `local_uri`s and set them to `None`. +/// Scan downloaded `episode` entries that might have broken `local_uri`s and +/// set them to `None`. fn download_checker() -> Result<(), DataError> { let mut episodes = dbqueries::get_downloaded_episodes()?; diff --git a/hammond-downloader/src/downloader.rs b/hammond-downloader/src/downloader.rs index 4fa9bee..4dd3892 100644 --- a/hammond-downloader/src/downloader.rs +++ b/hammond-downloader/src/downloader.rs @@ -18,7 +18,8 @@ use hammond_data::xdg_dirs::HAMMOND_CACHE; use errors::DownloadError; // TODO: Replace path that are of type &str with std::path. -// TODO: Have a convention/document absolute/relative paths, if they should end with / or not. +// TODO: Have a convention/document absolute/relative paths, if they should end +// with / or not. pub trait DownloadProgress { fn set_downloaded(&mut self, downloaded: u64); @@ -75,7 +76,8 @@ fn download_into( info!("Extension: {}", ext); // Construct a temp file to save desired content. - // It has to be a `new_in` instead of new cause rename can't move cross filesystems. + // It has to be a `new_in` instead of new cause rename can't move cross + // filesystems. let tempdir = TempDir::new_in(HAMMOND_CACHE.to_str().unwrap(), "temp_download")?; let out_file = format!("{}/temp.part", tempdir.path().to_str().unwrap(),); @@ -113,7 +115,9 @@ fn get_ext(content: Option) -> Option { // TODO: Write unit-tests. // TODO: Refactor... Somehow. -/// Handles the I/O of fetching a remote file and saving into a Buffer and A File. +/// Handles the I/O of fetching a remote file and saving into a Buffer and A +/// File. +#[allow(needless_pass_by_value)] fn save_io( file: &str, resp: &mut reqwest::Response, diff --git a/hammond-downloader/src/lib.rs b/hammond-downloader/src/lib.rs index 64276d3..37b2c40 100644 --- a/hammond-downloader/src/lib.rs +++ b/hammond-downloader/src/lib.rs @@ -1,5 +1,7 @@ #![recursion_limit = "1024"] #![deny(unused_extern_crates, unused)] +#![allow(unknown_lints)] +#![cfg_attr(feature = "cargo-clippy", allow(blacklisted_name))] extern crate failure; #[macro_use] diff --git a/hammond-gtk/src/app.rs b/hammond-gtk/src/app.rs index e35d18e..8027d4b 100644 --- a/hammond-gtk/src/app.rs +++ b/hammond-gtk/src/app.rs @@ -1,3 +1,5 @@ +#![allow(new_without_default)] + use gio::{ApplicationExt, ApplicationExtManual, ApplicationFlags}; use glib; use gtk; diff --git a/hammond-gtk/src/main.rs b/hammond-gtk/src/main.rs index b19d6c8..fa09b19 100644 --- a/hammond-gtk/src/main.rs +++ b/hammond-gtk/src/main.rs @@ -1,5 +1,7 @@ -#![cfg_attr(feature = "cargo-clippy", allow(clone_on_ref_ptr, needless_pass_by_value))] -// #![deny(unused_extern_crates, unused)] +#![cfg_attr(feature = "cargo-clippy", + allow(clone_on_ref_ptr, needless_pass_by_value, useless_format))] +#![allow(unknown_lints)] +#![deny(unused_extern_crates, unused)] extern crate gdk; extern crate gdk_pixbuf; diff --git a/hammond-gtk/src/stacks/show.rs b/hammond-gtk/src/stacks/show.rs index f5cbb8d..ddcf583 100644 --- a/hammond-gtk/src/stacks/show.rs +++ b/hammond-gtk/src/stacks/show.rs @@ -102,8 +102,9 @@ impl ShowStack { debug!("Name: {:?}", WidgetExt::get_name(&old)); let new = ShowWidget::new(pd, self.sender.clone()); - // Each composite ShowWidget is a gtkBox with the Podcast.id encoded in the gtk::Widget - // name. It's a hack since we can't yet subclass GObject easily. + // Each composite ShowWidget is a gtkBox with the Podcast.id encoded in the + // gtk::Widget name. It's a hack since we can't yet subclass GObject + // easily. let oldid = WidgetExt::get_name(&old); let newid = WidgetExt::get_name(&new.container); debug!("Old widget Name: {:?}\nNew widget Name: {:?}", oldid, newid); diff --git a/hammond-gtk/src/static_resource.rs b/hammond-gtk/src/static_resource.rs index b48c444..25deef7 100644 --- a/hammond-gtk/src/static_resource.rs +++ b/hammond-gtk/src/static_resource.rs @@ -2,14 +2,16 @@ use gio::{resources_register, Error, Resource}; use glib::Bytes; pub fn init() -> Result<(), Error> { - // load the gresource binary at build time and include/link it into the final binary. + // load the gresource binary at build time and include/link it into the final + // binary. let res_bytes = include_bytes!("../resources/resources.gresource"); // Create Resource it will live as long the value lives. let gbytes = Bytes::from_static(res_bytes.as_ref()); let resource = Resource::new_from_data(&gbytes)?; - // Register the resource so It wont be dropped and will continue to live in memory. + // Register the resource so It wont be dropped and will continue to live in + // memory. resources_register(&resource); Ok(()) diff --git a/hammond-gtk/src/utils.rs b/hammond-gtk/src/utils.rs index 1d91f74..f2b0876 100644 --- a/hammond-gtk/src/utils.rs +++ b/hammond-gtk/src/utils.rs @@ -36,13 +36,14 @@ fn refresh_feed(source: Option>, sender: Sender) -> Result<( }); // Work around to improve the feed addition experience. - // Many times links to rss feeds are just redirects(usually to an https version). - // Sadly I haven't figured yet a nice way to follow up links redirects without getting - // to lifetime hell with futures and hyper. + // Many times links to rss feeds are just redirects(usually to an https + // version). Sadly I haven't figured yet a nice way to follow up links + // redirects without getting to lifetime hell with futures and hyper. // So the requested refresh is only of 1 feed, and the feed fails to be indexed, - // (as a 301 redict would update the source entry and exit), another refresh is run. - // For more see hammond_data/src/models/source.rs `fn request_constructor`. - // also ping me on irc if or open an issue if you want to tackle it. + // (as a 301 redict would update the source entry and exit), another refresh is + // run. For more see hammond_data/src/models/source.rs `fn + // request_constructor`. also ping me on irc if or open an issue if you + // want to tackle it. if sources.len() == 1 { let source = sources.remove(0); let id = source.id(); @@ -56,12 +57,10 @@ fn refresh_feed(source: Option>, sender: Sender) -> Result<( } } } - } else { - // This is what would normally run - if let Err(err) = pipeline::run(sources, false) { - error!("Error While trying to update the database."); - error!("Error msg: {}", err); - } + // This is what would normally run + } else if let Err(err) = pipeline::run(sources, false) { + error!("Error While trying to update the database."); + error!("Error msg: {}", err); } sender diff --git a/hammond-gtk/src/views/shows.rs b/hammond-gtk/src/views/shows.rs index d3f57f0..38dfb0d 100644 --- a/hammond-gtk/src/views/shows.rs +++ b/hammond-gtk/src/views/shows.rs @@ -56,13 +56,10 @@ impl ShowsPopulated { fn populate_flowbox(&self) -> Result<(), Error> { let podcasts = dbqueries::get_podcasts()?; - podcasts - .into_iter() - .map(|pd| Arc::new(pd)) - .for_each(|parent| { - let flowbox_child = ShowsChild::new(parent); - self.flowbox.add(&flowbox_child.child); - }); + podcasts.into_iter().map(Arc::new).for_each(|parent| { + let flowbox_child = ShowsChild::new(parent); + self.flowbox.add(&flowbox_child.child); + }); self.flowbox.show_all(); Ok(()) } diff --git a/hammond-gtk/src/widgets/episode.rs b/hammond-gtk/src/widgets/episode.rs index e34c9a6..b705e9e 100644 --- a/hammond-gtk/src/widgets/episode.rs +++ b/hammond-gtk/src/widgets/episode.rs @@ -159,7 +159,8 @@ impl EpisodeWidget { })); } - /// Show or hide the play/delete/download buttons upon widget initialization. + /// Show or hide the play/delete/download buttons upon widget + /// initialization. fn show_buttons(&self, local_uri: Option<&str>) -> Result<(), Error> { let path = local_uri.ok_or_else(|| format_err!("Path is None"))?; if Path::new(path).exists() { @@ -329,6 +330,7 @@ fn update_progressbar_callback( ); } +#[allow(if_same_then_else)] fn progress_bar_helper( prog: Arc>, episode_rowid: i32, diff --git a/hammond-gtk/src/widgets/show.rs b/hammond-gtk/src/widgets/show.rs index 574f515..0a5808d 100644 --- a/hammond-gtk/src/widgets/show.rs +++ b/hammond-gtk/src/widgets/show.rs @@ -105,7 +105,8 @@ impl ShowWidget { /// Set the descripton text. fn set_description(&self, text: &str) { - // TODO: Temporary solution until we render html urls/bold/italic probably with markup. + // TODO: Temporary solution until we render html urls/bold/italic probably with + // markup. let desc = dissolve::strip_html_tags(text).join(" "); self.description.set_text(&replace_extra_spaces(&desc)); } From fce3684113884caaa1a4bc9702563bdbf54eb446 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 19 Feb 2018 16:52:58 +0000 Subject: [PATCH 14/16] Readme: Improve flatpak instructions. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9a52872..fe933c7 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,14 @@ Download the `org.gnome.Hammond.json` flatpak manifest from this repo. ```bash # Add flathub repo -flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +flatpak --user remote-add flathub --if-not-exists https://dl.flathub.org/repo/flathub.flatpakrepo # Add the gnome-nightly repo -flatpak --user remote-add gnome-nightly https://sdk.gnome.org/gnome-nightly.flatpakrepo +flatpak --user remote-add gnome-nightly --if-not-exists https://sdk.gnome.org/gnome-nightly.flatpakrepo +# Install the gnome-nightly Sdk and Platform runtim +flatpak --user install gnome-nightly org.gnome.Sdk org.gnome.Platform # Install the required rust-stable extension from flathub flatpak --user install flathub org.freedesktop.Sdk.Extension.rust-stable -flatpak-builder --repo=repo hammond org.gnome.Hammond.json --force-clean +flatpak-builder --user --repo=repo hammond org.gnome.Hammond.json --force-clean flatpak build-bundle repo hammond org.gnome.Hammond ``` From c61938ba629be6bdbacf6b38f8332d24132401ac Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 20 Feb 2018 06:19:05 +0000 Subject: [PATCH 15/16] Update dependancies. --- Cargo.lock | 154 ++++++++++++++++++++++++++-------------- hammond-data/Cargo.toml | 2 +- hammond-gtk/Cargo.toml | 2 +- 3 files changed, 102 insertions(+), 56 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ff8f174..1c9b099 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,6 +34,14 @@ name = "antidote" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "arrayvec" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "atk-sys" version = "0.5.0" @@ -64,7 +72,7 @@ dependencies = [ "backtrace-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-demangle 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-demangle 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -163,13 +171,13 @@ name = "chrono" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "num 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", + "num 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "clap" -version = "2.29.4" +version = "2.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "ansi_term 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -181,15 +189,6 @@ dependencies = [ "vec_map 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "coco" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "either 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "core-foundation" version = "0.2.3" @@ -220,7 +219,7 @@ name = "criterion" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "clap 2.29.4 (registry+https://github.com/rust-lang/crates.io-index)", + "clap 2.30.0 (registry+https://github.com/rust-lang/crates.io-index)", "criterion-plot 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "criterion-stats 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -258,6 +257,37 @@ dependencies = [ "thread-scoped 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "crossbeam-deque" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crossbeam-epoch 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "crossbeam-utils" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "debug_unreachable" version = "0.1.1" @@ -339,7 +369,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "derive-error-chain 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", "error-chain 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -631,9 +661,9 @@ dependencies = [ "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rayon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "rfc822_sanitizer 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rss 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rss 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-core 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -652,7 +682,7 @@ dependencies = [ "hyper 0.11.18 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "mime_guess 1.8.3 (registry+https://github.com/rust-lang/crates.io-index)", - "reqwest 0.8.4 (registry+https://github.com/rust-lang/crates.io-index)", + "reqwest 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -676,7 +706,7 @@ dependencies = [ "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "loggerv 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "open 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rayon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "send-cell 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -688,10 +718,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "pest 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "pest_derive 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", + "pest 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "pest_derive 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "quick-error 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -949,6 +979,11 @@ dependencies = [ "libc 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "memoffset" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "migrations_internals" version = "1.1.0" @@ -1041,7 +1076,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.9.23 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "schannel 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1060,14 +1095,19 @@ dependencies = [ "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "nodrop" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "num" -version = "0.1.41" +version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num-integer 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "num-iter 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1115,19 +1155,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "openssl" -version = "0.9.23" +version = "0.9.24" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.9.26 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "openssl-sys" -version = "0.9.24" +version = "0.9.26" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cc 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1168,15 +1208,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "pest" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "pest_derive" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "pest 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", + "pest 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1278,23 +1318,23 @@ dependencies = [ [[package]] name = "rayon" -version = "0.9.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "either 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rayon-core 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon-core 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rayon-core" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "coco 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1312,7 +1352,7 @@ dependencies = [ [[package]] name = "regex" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "aho-corasick 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1346,10 +1386,11 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "encoding_rs 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.11.18 (registry+https://github.com/rust-lang/crates.io-index)", "hyper-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1374,12 +1415,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rss" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1388,7 +1429,7 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -1893,6 +1934,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum ammonia 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f1b9ec9f0a4d43499276dfba49b3e92bf9081e8f2206386caa02237bc71e1beb" "checksum ansi_term 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6b3568b48b7cefa6b8ce125f9bb4989e52fbcc29ebea88df04cc7c5f12f70455" "checksum antidote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "34fde25430d87a9388dadbe6e34d7f72a462c8b43ac8d309b42b0a8505d7e2a5" +"checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef" "checksum atk-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "33a67fd81e1922dddc335887516f2f5254534e89c9d39fa89bca5d79bd150d34" "checksum atty 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "8352656fd42c30a0c3c89d26dea01e3b77c0ab2af18230835c15e2e13cd51859" "checksum backtrace 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ebbbf59b1c43eefa8c3ede390fcc36820b4999f7914104015be25025e0d62af2" @@ -1910,14 +1952,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum cc 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "deaf9ec656256bb25b404c51ef50097207b9cbb29c933d31f92cae5a8a0ffee0" "checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de" "checksum chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7c20ebe0b2b08b0aeddba49c609fe7957ba2e33449882cb186a180bc60682fa9" -"checksum clap 2.29.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7b8f59bcebcfe4269b09f71dab0da15b355c75916a8f975d3876ce81561893ee" -"checksum coco 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c06169f5beb7e31c7c67ebf5540b8b472d23e3eade3b2ec7d1f5b504a85f91bd" +"checksum clap 2.30.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1c07b9257a00f3fc93b7f3c417fc15607ec7a56823bc2c37ec744e266387de5b" "checksum core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "25bfd746d203017f7d5cbd31ee5d8e17f94b6521c7af77ece6c9e4b2d4b16c67" "checksum core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "065a5d7ffdcbc8fa145d6f0746f3555025b9097a9e9cda59f7467abae670c78d" "checksum crc 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bd5d02c0aac6bd68393ed69e00bbc2457f3e89075c6349db7189618dc4ddc1d7" "checksum criterion 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ab5d3fd4898f2a0034b3bd65b65a68cdba3c26286ccaf5461b18d26f58e512a3" "checksum criterion-plot 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bbfbe2e326c84218c34eacf423b43cf56c4ae32008755074abe6ff708c631814" "checksum criterion-stats 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ee00c9461382c11919d95702239902d7e4a15ef27ff1c46a2b5f5c2d79ddc11" +"checksum crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3" +"checksum crossbeam-epoch 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "59796cc6cbbdc6bb319161349db0c3250ec73ec7fcb763a51065ec4e2e158552" +"checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9" "checksum debug_unreachable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9a032eac705ca39214d169f83e3d3da290af06d8d1d344d1baad2fd002dca4b3" "checksum derive-error-chain 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3c9ca9ade651388daad7c993f005d0d20c4f6fe78c1cdc93e95f161c6f5ede4a" "checksum derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c998e6ab02a828dd9735c18f154e14100e674ed08cb4e1938f0e4177543f439" @@ -1983,6 +2027,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum markup5ever 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfedc97d5a503e96816d10fedcd5b42f760b2e525ce2f7ec71f6a41780548475" "checksum matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "100aabe6b8ff4e4a7e32c1c13523379802df0772b82466207ac25b013f193376" "checksum memchr 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "796fba70e76612589ed2ce7f45282f5af869e0fdd7cc6199fa1aa1f1d591ba9d" +"checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" "checksum migrations_internals 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bd916de6df9ac7e811e7e1ac28e0abfebe5205f3b29a7bda9ec8a41ee980a4eb" "checksum migrations_macros 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5a550cfd76f6cfdf15a7b541893d7c79b68277b0b309f12179211a373a56e617" "checksum mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ba626b8a6de5da682e1caa06bdb42a335aee5a84db8e5046a3e8ab17ba0a3ae0" @@ -1993,20 +2038,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" "checksum native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f74dbadc8b43df7864539cedb7bc91345e532fdd913cfdc23ad94f4d2d40fbc0" "checksum net2 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)" = "3a80f842784ef6c9a958b68b7516bc7e35883c614004dd94959a4dca1b716c09" -"checksum num 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "cc4083e14b542ea3eb9b5f33ff48bd373a92d78687e74f4cc0a30caeb754f0ca" +"checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" +"checksum num 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "4703ad64153382334aa8db57c637364c322d3372e097840c72000dabdcf6156e" "checksum num-integer 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)" = "f8d26da319fb45674985c78f1d1caf99aa4941f785d384a2ae36d0740bc3e2fe" "checksum num-iter 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "4b226df12c5a59b63569dd57fafb926d91b385dfce33d8074a412411b689d593" "checksum num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)" = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" "checksum num-traits 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e7de20f146db9d920c45ee8ed8f71681fd9ade71909b48c3acbd766aa504cf10" "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" "checksum open 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c281318d992e4432cfa799969467003d05921582a7489a8325e37f8a450d5113" -"checksum openssl 0.9.23 (registry+https://github.com/rust-lang/crates.io-index)" = "169a4b9160baf9b9b1ab975418c673686638995ba921683a7f1e01470dcb8854" -"checksum openssl-sys 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "14ba54ac7d5a4eabd1d5f2c1fdeb7e7c14debfa669d94b983d01b465e767ba9e" +"checksum openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "a3605c298474a3aa69de92d21139fb5e2a81688d308262359d85cdd0d12a7985" +"checksum openssl-sys 0.9.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a5a41ce2f5f2d939c80decde8fcfcf5837c203ca6c06a553510a2fcb84fa3ef1" "checksum pango 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e81c404ab81ea7ea2fc2431a0a7672507b80e4b8bf4b41eac3fc83cc665104e" "checksum pango-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "34f34a1be107fe16abb2744e0e206bee4b3b07460b5fddd3009a6aaf60bd69ab" "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" -"checksum pest 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e1117ca38a751edc66a4cd9ca1b35644b7d00305971306e07e0d3befbc61e906" -"checksum pest_derive 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1debf85717cb8fa6bf2aad21fbbe888fda5797aae22d332cefec9ba79b6c7a33" +"checksum pest 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "47cb1554f1f0efadbd7196e99f19a11b975d10813a2cb26e8034ce5e7286cb34" +"checksum pest_derive 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "be11c37fe199edc626e97f27136f7f357b40cc36b63762d99c13448a7bd2df34" "checksum phf 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)" = "cb325642290f28ee14d8c6201159949a872f220c62af6e110a56ea914fbe42fc" "checksum phf_codegen 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)" = "d62594c0bb54c464f633175d502038177e90309daf2e0158be42ed5f023ce88f" "checksum phf_generator 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)" = "6b07ffcc532ccc85e3afc45865469bf5d9e4ef5bfcf9622e3cfe80c2d275ec03" @@ -2019,18 +2065,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum r2d2 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f9078ca6a8a5568ed142083bb2f7dc9295b69d16f867ddcc9849e51b17d8db46" "checksum rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)" = "15a732abf9d20f0ad8eeb6f909bf6868722d9a06e1e50802b6a70351f40b4eb1" "checksum rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5" -"checksum rayon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ed02d09394c94ffbdfdc755ad62a132e94c3224a8354e78a1200ced34df12edf" -"checksum rayon-core 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e64b609139d83da75902f88fd6c01820046840a18471e4dfcd5ac7c0f46bea53" +"checksum rayon 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "485541959c8ecc49865526fe6c4de9653dd6e60d829d6edf0be228167b60372d" +"checksum rayon-core 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9d24ad214285a7729b174ed6d3bcfcb80177807f959d95fafd5bfc5c4f201ac8" "checksum redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "0d92eecebad22b767915e4d529f89f28ee96dbbf5a4810d2b844373f136417fd" "checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" -"checksum regex 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "744554e01ccbd98fff8c457c3b092cd67af62a555a43bfe97ae8a0451f7799fa" +"checksum regex 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "5be5347bde0c48cfd8c3fdc0766cdfe9d8a755ef84d620d6794c778c91de8b2b" "checksum regex-syntax 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8e931c58b93d86f080c734bfd2bce7dd0079ae2331235818133c8be7f422e20e" "checksum relay 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1576e382688d7e9deecea24417e350d3062d97e32e45d70b1cde65994ff1489a" "checksum remove_dir_all 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b5d2f806b0fcdabd98acd380dc8daef485e22bcb7cddc811d1337967f2528cf5" -"checksum reqwest 0.8.4 (registry+https://github.com/rust-lang/crates.io-index)" = "449c45f593ce9af9417c91e22f274fb8cea013bcf3d37ec1b5fb534b623bc708" +"checksum reqwest 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)" = "241faa9a8ca28a03cbbb9815a5d085f271d4c0168a19181f106aa93240c22ddb" "checksum rfc822_sanitizer 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "680e8305c1e0cdf836dc4bec5424e045f278c975a3cac36d1ca01c4695f9d815" -"checksum rss 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3fbc1a0587ebbc7404b3295c8e1f717d00dad48e3c205adadf916f15ff67d05b" -"checksum rustc-demangle 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "aee45432acc62f7b9a108cc054142dac51f979e69e71ddce7d6fc7adf29e817e" +"checksum rss 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e4f993d29946c3dc45af4244bdac2ffeb87ebe0c02065ea6fa52a3e2476232b9" +"checksum rustc-demangle 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f312457f8a4fa31d3581a6f423a70d6c33a10b95291985df55f1ff670ec10ce8" "checksum rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)" = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda" "checksum safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e27a8b19b835f7aea908818e871f5cc3a5a186550c30773be987e155e8163d8f" "checksum schannel 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "acece75e0f987c48863a6c792ec8b7d6c4177d4a027f8ccc72f849794f437016" diff --git a/hammond-data/Cargo.toml b/hammond-data/Cargo.toml index 795854a..20d8624 100644 --- a/hammond-data/Cargo.toml +++ b/hammond-data/Cargo.toml @@ -13,7 +13,7 @@ error-chain = "0.11.0" itertools = "0.7.6" lazy_static = "1.0.0" log = "0.4.1" -rayon = "0.9.0" +rayon = "1.0.0" rfc822_sanitizer = "0.3.3" rss = "1.2.1" url = "1.6.0" diff --git a/hammond-gtk/Cargo.toml b/hammond-gtk/Cargo.toml index d8b2ab2..2d11674 100644 --- a/hammond-gtk/Cargo.toml +++ b/hammond-gtk/Cargo.toml @@ -17,7 +17,7 @@ lazy_static = "1.0.0" log = "0.4.1" loggerv = "0.7.0" open = "1.2.1" -rayon = "0.9.0" +rayon = "1.0.0" send-cell = "0.1.2" url = "1.6.0" failure = "0.1.1" From 3d542e5554b391108170dda3a44155eee6df793c Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 21 Feb 2018 09:33:03 +0000 Subject: [PATCH 16/16] Readme: add dependancy ci banner. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fe933c7..10518d1 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ## A Podcast Client for the GNOME Desktop written in Rust. [![pipeline status](https://gitlab.gnome.org/alatiera/Hammond/badges/master/pipeline.svg)](https://gitlab.gnome.org/alatiera/Hammond/commits/master) +[![Dependency Status](https://dependencyci.com/github/alatiera/Hammond/badge)](https://dependencyci.com/github/alatiera/Hammond) ### Features