Skip to content

Commit

Permalink
Update dependencies and fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
brmmm3 committed Mar 15, 2024
1 parent af99710 commit 7740472
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 17 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.4.2] - 2024-03-24

### Changed

- Update dependencies.
- Fix warnings.

## [2.4.1] - 2024-02-10

### Changed
Expand Down
2 changes: 1 addition & 1 deletion pyscandir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scandir_rs"
version = "2.4.1"
version = "2.4.2"
authors = ["Martin Bammer <mrbm74@gmail.com>"]
description = "A fast directory scanner."
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion pyscandir/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "scandir-rs"
version = "2.4.1"
version = "2.4.2"
authors = [{ name = "Martin Bammer", email = "mrbm74@gmail.com" }]
description = "A Rust library for parsing and generating A2L files."
dependencies = []
Expand Down
3 changes: 1 addition & 2 deletions pyscandir/src/pycount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use std::io::ErrorKind;

use pyo3::exceptions::{PyException, PyFileNotFoundError, PyRuntimeError, PyValueError};
use pyo3::prelude::*;
use pyo3::types::{PyAny, PyType};
use pyo3::Python;
use pyo3::types::PyType;

use crate::def::{ReturnType, Statistics};

Expand Down
5 changes: 2 additions & 3 deletions pyscandir/src/pyscandir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ use std::time::Duration;

use pyo3::exceptions::{PyException, PyFileNotFoundError, PyRuntimeError, PyValueError};
use pyo3::prelude::*;
use pyo3::types::{PyAny, PyDict, PyType};
use pyo3::Python;
use pyo3::types::{PyDict, PyType};

use crate::def::{DirEntry, DirEntryExt, ReturnType};
use scandir::{self, ErrorsType, ScandirResult, ScandirResultsType};
use scandir::{ErrorsType, ScandirResult, ScandirResultsType};

fn result2py(result: &ScandirResult, py: Python) -> Option<PyObject> {
match result {
Expand Down
3 changes: 1 addition & 2 deletions pyscandir/src/pywalk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use std::time::Duration;

use pyo3::exceptions::{PyException, PyFileNotFoundError, PyRuntimeError, PyValueError};
use pyo3::prelude::*;
use pyo3::types::{PyAny, PyType};
use pyo3::Python;
use pyo3::types::PyType;

use crate::def::{ReturnType, Toc};

Expand Down
4 changes: 2 additions & 2 deletions scandir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scandir"
version = "2.4.1"
version = "2.4.2"
authors = ["Martin Bammer <mrbm74@gmail.com>"]
description = "A fast directory scanner."
edition = "2021"
Expand All @@ -17,7 +17,7 @@ crate-type = ["lib"]

[dependencies]
jwalk-meta = "0.9"
rayon = "1.8"
rayon = "1.9"
flume = "0.11"
glob-sl = "0.4"
speedy = { version = "0.8", optional = true }
Expand Down
3 changes: 1 addition & 2 deletions scandir/examples/count.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::env;
use std::io::Error;
use std::result::Result;

use scandir::{self, Count};
use scandir::Count;

fn main() -> Result<(), Error> {
let args: Vec<String> = env::args().collect();
Expand Down
3 changes: 1 addition & 2 deletions scandir/examples/scandir.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::env;
use std::io::Error;
use std::result::Result;

use scandir::{self, ReturnType, Scandir};
use scandir::{ReturnType, Scandir};

fn main() -> Result<(), Error> {
let args: Vec<String> = env::args().collect();
Expand Down
3 changes: 1 addition & 2 deletions scandir/examples/walk.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
use std::env;
use std::io::Error;
use std::result::Result;
use std::thread;
use std::time::Duration;

use scandir::{self, ReturnType, Walk};
use scandir::{ReturnType, Walk};

fn main() -> Result<(), Error> {
let args: Vec<String> = env::args().collect();
Expand Down

0 comments on commit 7740472

Please sign in to comment.