Skip to content

Commit

Permalink
update edition
Browse files Browse the repository at this point in the history
  • Loading branch information
NULLx76 committed Oct 15, 2024
1 parent 3d21b36 commit c27c706
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "rust-repos"
edition = "2021"
version = "0.1.0"
authors = ["Pietro Albini <[email protected]>"]

Expand Down
6 changes: 2 additions & 4 deletions src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

use config::Config;
use csv;
use prelude::*;
use serde_json;
use crate::config::Config;
use crate::prelude::*;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::{Arc, Mutex};
Expand Down
4 changes: 2 additions & 2 deletions src/github/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

use config::Config;
use prelude::*;
use crate::config::Config;
use crate::prelude::*;
use reqwest::blocking::{Client, RequestBuilder, Response};
use reqwest::{header, Method, StatusCode};
use serde::{de::DeserializeOwned, Serialize};
Expand Down
10 changes: 5 additions & 5 deletions src/github/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@

mod api;

use config::Config;
use crate::config::Config;
use crossbeam_utils::thread::scope;
use data::{Data, Repo};
use github::api::GitHubApi;
use prelude::*;
use crate::data::{Data, Repo};
use crate::github::api::GitHubApi;
use crate::prelude::*;
use std::sync::atomic::{AtomicBool, Ordering};
use std::time::{Duration, Instant};
use utils::wrap_thread;
use crate::utils::wrap_thread;

static WANTED_LANG: &str = "Rust";

Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

use prelude::*;
use crate::prelude::*;

pub fn log_error(err: &Error) {
error!("{}", err);
Expand Down

0 comments on commit c27c706

Please sign in to comment.