Skip to content

Commit ac72724

Browse files
committed
Update version
1 parent 5c0cdfa commit ac72724

6 files changed

Lines changed: 17 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.5.11 - 2026-04-07
4+
5+
- Add `static_crt` option to `cpp_build::Config`
6+
- Fix `PartialOrd` comparison returning wrong results
7+
- Disable LTO for generated C++ library to fix metadata detection
8+
- Bump MSRV to 1.71
9+
- Update to Rust edition 2021 and modernize some code
10+
311
## 0.5.10 - 2024-11-20
412

513
- `impl From<cc::Build> for cpp_build::Config`

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace.package]
2+
version = "0.5.11"
23
edition = "2021"
34
rust-version = "1.71"
45
license = "MIT OR Apache-2.0"

cpp/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cpp"
3-
version = "0.5.10"
3+
version.workspace = true
44
authors = ["Nika Layzell <nika@thelayzells.com>", "Olivier Goffart <olivier.goffart@slint.dev>"]
55
edition.workspace = true
66
rust-version.workspace = true
@@ -13,7 +13,7 @@ repository = "https://github.com/mystor/rust-cpp"
1313
documentation = "https://docs.rs/cpp"
1414

1515
[dependencies]
16-
cpp_macros = { version = "=0.5.10", path = "../cpp_macros" }
16+
cpp_macros = { version = "=0.5.11", path = "../cpp_macros" }
1717

1818
[dev-dependencies]
19-
cpp_build = { version = "=0.5.10", path = "../cpp_build" }
19+
cpp_build = { version = "=0.5.11", path = "../cpp_build" }

cpp_build/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cpp_build"
3-
version = "0.5.10"
3+
version.workspace = true
44
authors = ["Nika Layzell <nika@thelayzells.com>", "Olivier Goffart <olivier.goffart@slint.dev>"]
55
edition.workspace = true
66
rust-version.workspace = true
@@ -20,7 +20,7 @@ parallel = ["cc/parallel"]
2020

2121
[dependencies]
2222
cc = "1.0.38"
23-
cpp_common = { path = "../cpp_common", version = "=0.5.10" }
23+
cpp_common = { path = "../cpp_common", version = "=0.5.11" }
2424
syn = { version = "2.0", features=["full", "visit"] }
2525
proc-macro2 = "1.0"
2626
regex = "1"

cpp_common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cpp_common"
3-
version = "0.5.10"
3+
version.workspace = true
44
authors = ["Nika Layzell <nika@thelayzells.com>", "Olivier Goffart <olivier.goffart@slint.dev>"]
55
edition.workspace = true
66
rust-version.workspace = true

cpp_macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cpp_macros"
3-
version = "0.5.10"
3+
version.workspace = true
44
authors = ["Nika Layzell <nika@thelayzells.com>", "Olivier Goffart <olivier.goffart@slint.dev>"]
55
edition.workspace = true
66
rust-version.workspace = true
@@ -21,7 +21,7 @@ docs-only = []
2121
proc-macro = true
2222

2323
[dependencies]
24-
cpp_common = { path = "../cpp_common", version = "=0.5.10" }
24+
cpp_common = { path = "../cpp_common", version = "=0.5.11" }
2525
syn = { version = "2.0", features=["full", "visit"] }
2626
quote = "1.0"
2727
proc-macro2 = "1.0"

0 commit comments

Comments
 (0)