diff --git a/.cargo/config b/.cargo/config deleted file mode 100644 index a6b014e..0000000 --- a/.cargo/config +++ /dev/null @@ -1,2 +0,0 @@ -[build] -target-dir = "target" diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ce8c945 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[build] +rustflags = ["-C", "target-cpu=x86-64-v3", "-Zshare-generics=n"] + +[target.x86_64-pc-windows-msvc] +linker = "rust-lld.exe" diff --git a/CHANGELOG.md b/CHANGELOG.md index 237501e..4fc617e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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.1] - 2024-02-10 + +### Changed + +- Update dependencies. + ## [2.4.0] - 2023-05-06 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 014917d..f975871 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,7 @@ [workspace] +resolver = "2" + members = ["scandir", "pyscandir"] [profile.release] diff --git a/pyscandir/Cargo.toml b/pyscandir/Cargo.toml index 9fc2dce..a56be9f 100644 --- a/pyscandir/Cargo.toml +++ b/pyscandir/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scandir_rs" -version = "2.4.0" +version = "2.4.1" authors = ["Martin Bammer "] description = "A fast directory scanner." edition = "2021" @@ -27,5 +27,5 @@ crate-type = ["cdylib"] scandir = { path = "../scandir" } [dependencies.pyo3] -version = "0.18" +version = "0.20" features = ["extension-module"] diff --git a/pyscandir/pyproject.toml b/pyscandir/pyproject.toml index 2e09c48..4a8188d 100644 --- a/pyscandir/pyproject.toml +++ b/pyscandir/pyproject.toml @@ -1,23 +1,15 @@ [project] name = "scandir-rs" -version = "2.4.0" -repository = "https://github.com/brmmm3/scandir-rs" - -[build-system] -requires = ["maturin>=0.12"] -build-backend = "maturin" - -[tool.maturin] -strip = true - -[package.metadata.maturin] +version = "2.4.1" +authors = [{ name = "Martin Bammer", email = "mrbm74@gmail.com" }] +description = "A Rust library for parsing and generating A2L files." +dependencies = [] requires-python = ">=3.7" -classifier = [ - "Development Status :: 3 - Alpha", +classifiers = [ + "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Operating System :: Microsoft :: Windows", - "Operating System :: POSIX :: Linux", + "Programming Language :: Rust", + "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", @@ -26,6 +18,22 @@ classifier = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python", - "Programming Language :: Rust", - "Typing :: Typed", + "Operating System :: POSIX :: Linux", + "Operating System :: MacOS", + "Operating System :: Microsoft :: Windows", + "License :: OSI Approved :: MIT License", ] + +[build-system] +requires = [ + "setuptools>=41.0.0", + "wheel", + "setuptools_rust>=0.10.2", + "toml", + "maturin>=0.12", +] +build-backend = "maturin" + +[tool.maturin] +manylinux = "off" +strip = true diff --git a/scandir/Cargo.toml b/scandir/Cargo.toml index e66022d..ba98de4 100644 --- a/scandir/Cargo.toml +++ b/scandir/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scandir" -version = "2.4.0" +version = "2.4.1" authors = ["Martin Bammer "] description = "A fast directory scanner." edition = "2021" @@ -17,13 +17,13 @@ crate-type = ["lib"] [dependencies] jwalk-meta = "0.9" -rayon = "1.7" -flume = "0.10" +rayon = "1.8" +flume = "0.11" glob-sl = "0.4" speedy = { version = "0.8", optional = true } [dev-dependencies] -tempfile = "3.5" +tempfile = "3.10" unix-named-pipe = "0.2" [features]