From 4d588fc594369a010ae709596f2b39c2e31a48d6 Mon Sep 17 00:00:00 2001 From: Inflation <2375962+inflation@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:16:49 +0800 Subject: [PATCH] chore: release --- Cargo.lock | 4 +- jpegxl-rs/CHANGELOG.md | 91 ++++++++++++++----------- jpegxl-rs/Cargo.toml | 142 ++++++++++++++++++++-------------------- jpegxl-src/CHANGELOG.md | 30 +++++---- jpegxl-src/Cargo.toml | 94 +++++++++++++------------- jpegxl-sys/CHANGELOG.md | 77 ++++++++++++++-------- jpegxl-sys/Cargo.toml | 90 ++++++++++++------------- 7 files changed, 283 insertions(+), 245 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4a4c61..1b55b74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -434,7 +434,7 @@ dependencies = [ [[package]] name = "jpegxl-rs" -version = "0.11.0+libjxl-0.11.0" +version = "0.11.1-alpha.0+libjxl-0.11.0" dependencies = [ "byteorder", "criterion", @@ -457,7 +457,7 @@ dependencies = [ [[package]] name = "jpegxl-sys" -version = "0.11.0+libjxl-0.11.0" +version = "0.11.1-alpha.0+libjxl-0.11.0" dependencies = [ "image", "jpegxl-src", diff --git a/jpegxl-rs/CHANGELOG.md b/jpegxl-rs/CHANGELOG.md index 91b0759..92189d7 100644 --- a/jpegxl-rs/CHANGELOG.md +++ b/jpegxl-rs/CHANGELOG.md @@ -1,37 +1,54 @@ -# Changelog - -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). - -## [Unreleased] - -## [0.11.0+libjxl-0.11.0](https://github.com/inflation/jpegxl-rs/compare/jpegxl-rs-v0.10.4+libjxl-0.10.3...jpegxl-rs-v0.11.0+libjxl-0.11.0) - 2024-09-27 - -### Added - -- Update JPEG quality setting in encoder ([#74](https://github.com/inflation/jpegxl-rs/pull/74)) - -### Fixed - -- Update release configuration for jpegxl-rs and jpegxl-sys packages -- Change ffi function types to use `c-unwind` ABI - -### Other - -- Convert `libjxl` doc to rustdoc format with help from @copilot -- Move `libjxl` functions into modules -- Bump thiserror from 1.0.63 to 1.0.64 -- Bump pretty_assertions from 1.4.0 to 1.4.1 -- Remove unnecessary feature attribute in thread pool implementations -- Remove threads feature and update dependencies. -- Don't use -sys in -rs with default features enabled -- Bump derive_builder from 0.20.0 to 0.20.1 -- Change JxlBoxType to use system char type -- Update how docs are generated ([#73](https://github.com/inflation/jpegxl-rs/pull/73)) -- ⬆️ (deps): Bump thiserror from 1.0.62 to 1.0.63 ([#66](https://github.com/inflation/jpegxl-rs/pull/66)) -- :arrow_up: (deps): Bump testresult from 0.4.0 to 0.4.1 -- :arrow_up: (deps): Bump image from 0.25.1 to 0.25.2 -- :arrow_up: (deps): Bump thiserror from 1.0.61 to 1.0.62 -- Update release-plz workflow and config +# Changelog + +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). + +## [Unreleased] + +## [0.11.1+libjxl-0.11.0](https://github.com/inflation/jpegxl-rs/compare/jpegxl-rs-v0.11.0+libjxl-0.11.0...jpegxl-rs-v0.11.1+libjxl-0.11.0) - 2024-10-01 + +### Fixed + +- Fix doc gen + +### Doc + +- Remove docsrs-specific reference to deleted "threads" feature + +## [0.11.0+libjxl-0.11.0](https://github.com/inflation/jpegxl-rs/compare/jpegxl-rs-v0.10.4+libjxl-0.10.3...jpegxl-rs-v0.11.0+libjxl-0.11.0) - 2024-09-27 + +### Added + +- Update JPEG quality setting in encoder ([#74](https://github.com/inflation/jpegxl-rs/pull/74)) + +### Fixed + +- Update release configuration for jpegxl-rs and jpegxl-sys packages +- Change ffi function types to use `c-unwind` ABI +- Change `JxlBoxType` to use system char type + +### Refactor + +- Move `libjxl` functions into modules +- Remove threads feature and update dependencies. +- Don't use `-sys` in `-rs` with default features enabled + +### Doc + +- Convert `libjxl` doc to rustdoc format with help from @copilot +- Remove unnecessary feature attribute in thread pool implementations +- Update how docs are generated ([#73](https://github.com/inflation/jpegxl-rs/pull/73)) + +### Deps + +- Bump thiserror from 1.0.61 to 1.0.64 +- Bump pretty_assertions from 1.4.0 to 1.4.1 +- Bump derive_builder from 0.20.0 to 0.20.1 +- Bump testresult from 0.4.0 to 0.4.1 +- Bump image from 0.25.1 to 0.25.2 + +### CI + +- Update release-plz workflow and config diff --git a/jpegxl-rs/Cargo.toml b/jpegxl-rs/Cargo.toml index bf9e66c..06880cb 100644 --- a/jpegxl-rs/Cargo.toml +++ b/jpegxl-rs/Cargo.toml @@ -1,71 +1,71 @@ -[package] -authors = ["Inflation "] -categories = ["api-bindings", "encoding", "multimedia::images"] -description = "Safe Rust wrapper for JPEG XL reference implementation" -edition = "2021" -keywords = ["jpeg-xl", "jxl"] -license = "GPL-3.0-or-later" -name = "jpegxl-rs" -readme = "README.md" -repository = "https://github.com/inflation/jpegxl-rs" -version = "0.11.0+libjxl-0.11.0" -rust-version.workspace = true - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[lints.rust] -missing_docs = "warn" -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } - -[lints.clippy] -pedantic = "warn" - -[features] -default = ["image"] -image = ["dep:image"] -vendored = ["jpegxl-sys/vendored"] -docs = ["jpegxl-sys/docs"] -bench = [] - -[dependencies] -derive_builder = "0.20.1" -image = { version = "0.25.2", optional = true, default-features = false } -thiserror = "1.0.64" -half = "2.4.1" -byteorder = "1.5.0" - -[dependencies.jpegxl-sys] -version = "0.11.0" -path = "../jpegxl-sys" -default-features = false - -[dev-dependencies] -image = { version = "0.25.2", default-features = false, features = [ - "jpeg", - "png", -] } -lcms2 = "6.1.0" -pretty_assertions = "1.4.1" -testresult = "0.4.1" - -[target.'cfg(not(target_family = "wasm"))'.dev-dependencies] -criterion = "0.5.1" - - -[package.metadata.docs.rs] -rustdoc-args = ["--cfg", "docsrs"] -features = ["docs"] - -[lib] -bench = false -path = "src/lib.rs" - -[[bench]] -harness = false -name = "decode" -required-features = ["bench"] - -[[bench]] -harness = false -name = "encode" -required-features = ["bench"] +[package] +authors = ["Inflation "] +categories = ["api-bindings", "encoding", "multimedia::images"] +description = "Safe Rust wrapper for JPEG XL reference implementation" +edition = "2021" +keywords = ["jpeg-xl", "jxl"] +license = "GPL-3.0-or-later" +name = "jpegxl-rs" +readme = "README.md" +repository = "https://github.com/inflation/jpegxl-rs" +version = "0.11.1-alpha.0+libjxl-0.11.0" +rust-version.workspace = true + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[lints.rust] +missing_docs = "warn" +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } + +[lints.clippy] +pedantic = "warn" + +[features] +default = ["image"] +image = ["dep:image"] +vendored = ["jpegxl-sys/vendored"] +docs = ["jpegxl-sys/docs"] +bench = [] + +[dependencies] +derive_builder = "0.20.1" +image = { version = "0.25.2", optional = true, default-features = false } +thiserror = "1.0.64" +half = "2.4.1" +byteorder = "1.5.0" + +[dependencies.jpegxl-sys] +version = "0.11.1-alpha.0" +path = "../jpegxl-sys" +default-features = false + +[dev-dependencies] +image = { version = "0.25.2", default-features = false, features = [ + "jpeg", + "png", +] } +lcms2 = "6.1.0" +pretty_assertions = "1.4.1" +testresult = "0.4.1" + +[target.'cfg(not(target_family = "wasm"))'.dev-dependencies] +criterion = "0.5.1" + + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +features = ["docs"] + +[lib] +bench = false +path = "src/lib.rs" + +[[bench]] +harness = false +name = "decode" +required-features = ["bench"] + +[[bench]] +harness = false +name = "encode" +required-features = ["bench"] diff --git a/jpegxl-src/CHANGELOG.md b/jpegxl-src/CHANGELOG.md index 4237dfe..5e95d18 100644 --- a/jpegxl-src/CHANGELOG.md +++ b/jpegxl-src/CHANGELOG.md @@ -1,14 +1,16 @@ -# Changelog - -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). - -## [Unreleased] - -## [0.11.1](https://github.com/inflation/jpegxl-rs/compare/jpegxl-src-v0.10.5...jpegxl-src-v0.11.1) - 2024-09-27 - -### Other - -- release/v0.11.0 +# Changelog + +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). + +## [Unreleased] + +## [0.11.1](https://github.com/inflation/jpegxl-rs/compare/jpegxl-src-v0.10.5...jpegxl-src-v0.11.1) - 2024-09-27 + +### Fix + +- Fix that published crate doesn't contain source code + +## 0.11.0 - *YANKED* diff --git a/jpegxl-src/Cargo.toml b/jpegxl-src/Cargo.toml index 9edd3b9..1bd53ad 100644 --- a/jpegxl-src/Cargo.toml +++ b/jpegxl-src/Cargo.toml @@ -1,47 +1,47 @@ -[package] -authors = ["Inflation "] -description = "Source of libjxl and logic to build it." -edition = "2021" -license = "BSD-3-Clause" -name = "jpegxl-src" -readme = "README.md" -repository = "https://github.com/inflation/jpegxl-rs" -version = "0.11.1" -rust-version.workspace = true -exclude = [ - "libjxl/third_party/libpng", - "libjxl/third_party/sjpeg", - "libjxl/third_party/lcms", - "libjxl/third_party/googletest", - "libjxl/third_party/brotli/tests", - "libjxl/third_party/brotli/java", - "libjxl/third_party/brotli/csharp", - "libjxl/third_party/brotli/research", - "libjxl/third_party/brotli/js", - "libjxl/third_party/libjpeg-turbo", - "libjxl/third_party/highway/g3doc", - "libjxl/third_party/skcms/profiles", - "libjxl/third_party/zlib/contrib", - "libjxl/testdata", - "libjxl/examples", - "libjxl/experimental", - "libjxl/docker", - "libjxl/doc", - "libjxl/.github", - "libjxl/debian", - "libjxl/plugins", -] - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } - -[lints.clippy] -pedantic = "warn" - -[dependencies] -cmake = "0.1.51" - -[features] -threads = [] +[package] +authors = ["Inflation "] +description = "Source of libjxl and logic to build it." +edition = "2021" +license = "BSD-3-Clause" +name = "jpegxl-src" +readme = "README.md" +repository = "https://github.com/inflation/jpegxl-rs" +version = "0.11.1" +rust-version.workspace = true +exclude = [ + "libjxl/third_party/libpng", + "libjxl/third_party/sjpeg", + "libjxl/third_party/lcms", + "libjxl/third_party/googletest", + "libjxl/third_party/brotli/tests", + "libjxl/third_party/brotli/java", + "libjxl/third_party/brotli/csharp", + "libjxl/third_party/brotli/research", + "libjxl/third_party/brotli/js", + "libjxl/third_party/libjpeg-turbo", + "libjxl/third_party/highway/g3doc", + "libjxl/third_party/skcms/profiles", + "libjxl/third_party/zlib/contrib", + "libjxl/testdata", + "libjxl/examples", + "libjxl/experimental", + "libjxl/docker", + "libjxl/doc", + "libjxl/.github", + "libjxl/debian", + "libjxl/plugins", +] + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } + +[lints.clippy] +pedantic = "warn" + +[dependencies] +cmake = "0.1.51" + +[features] +threads = [] diff --git a/jpegxl-sys/CHANGELOG.md b/jpegxl-sys/CHANGELOG.md index 5b82f1a..ee94550 100644 --- a/jpegxl-sys/CHANGELOG.md +++ b/jpegxl-sys/CHANGELOG.md @@ -1,29 +1,48 @@ -# Changelog - -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). - -## [Unreleased] - -## [0.11.0+libjxl-0.11.0](https://github.com/inflation/jpegxl-rs/compare/jpegxl-sys-v0.10.4+libjxl-0.10.3...jpegxl-sys-v0.11.0+libjxl-0.11.0) - 2024-09-27 - -### Added - -- Add gain map utility functions - -### Fixed - -- Update release configuration for jpegxl-rs and jpegxl-sys packages -- Change ffi function types to use `c-unwind` ABI - -### Other - -- Convert `libjxl` doc to rustdoc format with help from @copilot -- Move `libjxl` functions into modules -- Bump pkg-config from 0.3.30 to 0.3.31 -- Bump pretty_assertions from 1.4.0 to 1.4.1 -- Remove threads feature and update dependencies. -- Update how docs are generated ([#73](https://github.com/inflation/jpegxl-rs/pull/73)) -- :arrow_up: (deps): Bump image from 0.25.1 to 0.25.2 +# Changelog + +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). + +## [Unreleased] + +## [0.11.1+libjxl-0.11.0](https://github.com/inflation/jpegxl-rs/compare/jpegxl-sys-v0.11.0+libjxl-0.11.0...jpegxl-sys-v0.11.1+libjxl-0.11.0) - 2024-10-01 + +### Fixed + +- Doc build + +### Doc + +- Remove docsrs-specific reference to deleted "threads" feature + +## [0.11.0+libjxl-0.11.0](https://github.com/inflation/jpegxl-rs/compare/jpegxl-sys-v0.10.4+libjxl-0.10.3...jpegxl-sys-v0.11.0+libjxl-0.11.0) - 2024-09-27 + +### Added + +- Add gain map utility functions + +### Fixed + +- Change ffi function types to use `c-unwind` ABI + +### Refactor + +- Move `libjxl` functions into modules +- Remove threads feature and update dependencies. + +### Doc + +- Convert `libjxl` doc to rustdoc format with help from @copilot +- Update how docs are generated ([#73](https://github.com/inflation/jpegxl-rs/pull/73)) + +### Deps + +- Bump pkg-config from 0.3.30 to 0.3.31 +- Bump pretty_assertions from 1.4.0 to 1.4.1 +- Bump image from 0.25.1 to 0.25.2 + +### CI + +- Update release configuration for `jpegxl-rs` and `jpegxl-sys` packages diff --git a/jpegxl-sys/Cargo.toml b/jpegxl-sys/Cargo.toml index 746f208..d38f076 100644 --- a/jpegxl-sys/Cargo.toml +++ b/jpegxl-sys/Cargo.toml @@ -1,45 +1,45 @@ -[package] -authors = ["Inflation "] -categories = ["external-ffi-bindings", "encoding", "multimedia::images"] -description = "Rust wrapper for JPEG XL reference implementation" -edition = "2021" -keywords = ["jpeg-xl", "jxl"] -license = "GPL-3.0-or-later" -links = "jxl" -name = "jpegxl-sys" -readme = "README.md" -repository = "https://github.com/inflation/jpegxl-rs" -version = "0.11.0+libjxl-0.11.0" -rust-version.workspace = true - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } - -[lints.clippy] -pedantic = "warn" -module_name_repetitions = "allow" - -[lints.rustdoc] -broken_intra_doc_links = "deny" - -[package.metadata.docs.rs] -features = ["docs"] - -[build-dependencies] -pkg-config = "0.3.31" - -[build-dependencies.jpegxl-src] -version = "0.11.0" -path = "../jpegxl-src" -optional = true - -[dev-dependencies] -image = { version = "0.25.2", default-features = false, features = ["png"] } -pretty_assertions = "1.4.1" - -[features] -default = [] -vendored = ["jpegxl-src"] -docs = [] +[package] +authors = ["Inflation "] +categories = ["external-ffi-bindings", "encoding", "multimedia::images"] +description = "Rust wrapper for JPEG XL reference implementation" +edition = "2021" +keywords = ["jpeg-xl", "jxl"] +license = "GPL-3.0-or-later" +links = "jxl" +name = "jpegxl-sys" +readme = "README.md" +repository = "https://github.com/inflation/jpegxl-rs" +version = "0.11.1-alpha.0+libjxl-0.11.0" +rust-version.workspace = true + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } + +[lints.clippy] +pedantic = "warn" +module_name_repetitions = "allow" + +[lints.rustdoc] +broken_intra_doc_links = "deny" + +[package.metadata.docs.rs] +features = ["docs"] + +[build-dependencies] +pkg-config = "0.3.31" + +[build-dependencies.jpegxl-src] +version = "0.11.0" +path = "../jpegxl-src" +optional = true + +[dev-dependencies] +image = { version = "0.25.2", default-features = false, features = ["png"] } +pretty_assertions = "1.4.1" + +[features] +default = [] +vendored = ["jpegxl-src"] +docs = []