Skip to content

Commit

Permalink
Prepare v0.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwe committed May 11, 2024
1 parent fd400a1 commit 64289b1
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(Corrosion
# tagged release. Users don't need to care about this, it is mainly to
# clearly see in configure logs which version was used, without needing to
# rely on `git`, since Corrosion may be installed or otherwise packaged.
VERSION 0.4.10
VERSION 0.5.0
LANGUAGES NONE
HOMEPAGE_URL "https://corrosion-rs.github.io/corrosion/"
)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include(FetchContent)
FetchContent_Declare(
Corrosion
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
GIT_TAG v0.4 # Optionally specify a commit hash, version tag or branch here
GIT_TAG v0.5 # Optionally specify a commit hash, version tag or branch here
)
FetchContent_MakeAvailable(Corrosion)
Expand Down
10 changes: 10 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# v0.5.0 (2024-05-11)

### Breaking Changes

- Dashes (`-`) in names of imported CMake **library** targets are now replaced with underscores (`_`).
See [issue #501] for details. Users on older Corrosion versions will experience the same
change when using Rust 1.79 or newer. `bin` targets are not affected by this change.

[issue #501]: https://github.com/corrosion-rs/corrosion/issues/501

# v0.4.10 (2024-05-11)

### New features
Expand Down
2 changes: 1 addition & 1 deletion doc/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
language = "en"
multilingual = false
src = "src"
title = "Corrosion v0.4 documentation"
title = "Corrosion v0.5 documentation"
4 changes: 2 additions & 2 deletions doc/src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ For rust executables and dynamic libraries corrosion provides a `corrosion_link_
helper function to conveniently add the necessary flags to link C/C++ libraries into
the rust target.

You are currently viewing the documentation of the stable v0.4 release branch.
You are currently viewing the documentation of the stable v0.5 release branch.

[`target_link_libraries()`]: https://cmake.org/cmake/help/latest/command/target_link_libraries.html

## Requirements

Corrosion v0.4 requires at least CMake 3.15 and at least Rust 1.46 or newer.
Corrosion v0.5 requires at least CMake 3.15 and at least Rust 1.46 or newer.
2 changes: 1 addition & 1 deletion doc/src/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include(FetchContent)
FetchContent_Declare(
Corrosion
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
GIT_TAG v0.4 # Optionally specify a commit hash, version tag or branch here
GIT_TAG v0.5 # Optionally specify a commit hash, version tag or branch here
)
# Set any global configuration variables such as `Rust_TOOLCHAIN` before this line!
FetchContent_MakeAvailable(Corrosion)
Expand Down
2 changes: 1 addition & 1 deletion doc/src/setup_corrosion.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include(FetchContent)
FetchContent_Declare(
Corrosion
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
GIT_TAG v0.4 # Optionally specify a commit hash, version tag or branch here
GIT_TAG v0.5 # Optionally specify a commit hash, version tag or branch here
)
# Set any global configuration variables such as `Rust_TOOLCHAIN` before this line!
FetchContent_MakeAvailable(Corrosion)
Expand Down

0 comments on commit 64289b1

Please sign in to comment.