From c8689c643aa8c81fd2ac16288d399069926a0ac7 Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 24 Sep 2024 22:49:57 +0800 Subject: [PATCH] Release v1.7.2 (#2225) --- Cargo.lock | 50 +++++++++++++++++++++++++++++++++++++------------- Cargo.toml | 4 ++-- Changelog.md | 11 ++++++++++- 3 files changed, 49 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 184e1e35f..d8b36f5b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -267,18 +267,21 @@ dependencies = [ [[package]] name = "cargo-zigbuild" -version = "0.18.4" +version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65004153e67ac23be88a8e244304a872d727b2aa08654dcabfbecd1fdea4a488" +checksum = "e700178b11124560cdbabc8808e938fe6d77abde036b77a4c03a191b02bac854" dependencies = [ "anyhow", + "cargo-config2", "cargo-options", "cargo_metadata", "clap", + "crc", "dirs", "fs-err", "path-slash", "rustc_version", + "rustflags", "semver", "serde", "serde_json", @@ -321,9 +324,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.15" +version = "1.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" dependencies = [ "shlex", ] @@ -505,6 +508,21 @@ dependencies = [ "libc", ] +[[package]] +name = "crc" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" version = "1.4.2" @@ -1182,7 +1200,7 @@ dependencies = [ [[package]] name = "maturin" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "base64 0.21.7", @@ -1873,6 +1891,12 @@ dependencies = [ "semver", ] +[[package]] +name = "rustflags" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7fc92159fb50a431c5da366f7627751fe7263cf867f8a30f27fa6063ba02ac0" + [[package]] name = "rustix" version = "0.38.34" @@ -2041,18 +2065,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -2072,9 +2096,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.127" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "itoa", "memchr", @@ -2264,9 +2288,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.15" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" diff --git a/Cargo.toml b/Cargo.toml index 8224289b6..f69f0d34c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["konstin ", "messense "] name = "maturin" -version = "1.7.1" +version = "1.7.2" description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages" exclude = [ "test-crates/**/*", @@ -97,7 +97,7 @@ clap = { version = "4.0.0", features = [ clap_complete_command = { version = "0.6.1", optional = true } # cross compile -cargo-zigbuild = { version = "0.18.4", default-features = false, optional = true } +cargo-zigbuild = { version = "0.19.3", default-features = false, optional = true } cargo-xwin = { version = "0.16.5", default-features = false, optional = true } # log diff --git a/Changelog.md b/Changelog.md index 937be2015..417561d12 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,12 @@ # Changelog +## [1.7.2] + +* Fix cross compilation issues for armv7l, mips64 and ppc in [#2204](https://github.com/PyO3/maturin/pull/2204) +* UniFFI: supports bindings generated from multiple crates in [#2208](https://github.com/PyO3/maturin/pull/2208) +* Enable `--all-features` when building source distribution in [#2215](https://github.com/PyO3/maturin/pull/2215) +* Fix rpath when module-name contains `.` in [#2219](https://github.com/PyO3/maturin/pull/2219) + ## [1.7.1] * Forward `cargo package --list` warnings in [#2186](https://github.com/PyO3/maturin/pull/2186) @@ -976,7 +983,9 @@ points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K * Initial Release -[Unreleased]: https://github.com/pyo3/maturin/compare/v1.7.0...HEAD +[Unreleased]: https://github.com/pyo3/maturin/compare/v1.7.2...HEAD +[1.7.2]: https://github.com/pyo3/maturin/compare/v1.7.1...v1.7.2 +[1.7.1]: https://github.com/pyo3/maturin/compare/v1.7.0...v1.7.1 [1.7.0]: https://github.com/pyo3/maturin/compare/v1.6.0...v1.7.0 [1.6.0]: https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0 [1.5.1]: https://github.com/pyo3/maturin/compare/v1.5.0...v1.5.1