-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use latest stable Rust CI + Fix Test Errors #420
Merged
Merged
Changes from 7 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
eb4cffe
Use latest stable Rust CI
mxgrey 591967a
Merge remote-tracking branch 'origin/main' into stable_rust_ci
mxgrey 6abc295
Fix quotation in doc
mxgrey 8978d61
Fix serde feature for vendored messages
mxgrey 8e18f1e
Fix formatting of lists in docs
mxgrey 20e0524
Update minimum supported Rust version based on the currently used lan…
mxgrey 32a0516
Conform to clippy style guide
mxgrey aeef092
Add rust toolchain as a matrix dimension
mxgrey 35b0bbd
Merge branch 'stable_rust_ci' of ssh://github.com/mxgrey/ros2_rust in…
mxgrey 6e472fc
Bump declaration of minimum supported rust version
mxgrey 3750245
Limit the scheduled runs to once a week
mxgrey e7ff2da
Define separate stable and minimal workflows because matrix does not …
mxgrey 56ead26
Reduce minimum version to 1.75 to target Noble
mxgrey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ authors = ["Esteve Fernandez <[email protected]>", "Nikolai Morin <nnmmgit@gmail | |
edition = "2021" | ||
license = "Apache-2.0" | ||
description = "A ROS 2 client library for developing robotics applications in Rust" | ||
rust-version = "1.63" | ||
rust-version = "1.70" | ||
|
||
[lib] | ||
path = "src/lib.rs" | ||
|
@@ -29,6 +29,10 @@ libloading = { version = "0.8", optional = true } | |
# Needed for the Message trait, among others | ||
rosidl_runtime_rs = "0.4" | ||
|
||
# Needed for serliazation and deserialization of vendored messages | ||
serde = { version = "1", optional = true, features = ["derive"] } | ||
serde-big-array = { version = "0.5.1", optional = true } | ||
|
||
[dev-dependencies] | ||
# Needed for e.g. writing yaml files in tests | ||
tempfile = "3.3.0" | ||
|
@@ -46,6 +50,7 @@ cfg-if = "1.0.0" | |
[features] | ||
default = [] | ||
dyn_msg = ["ament_rs", "libloading"] | ||
serde = ["dep:serde", "dep:serde-big-array", "rosidl_runtime_rs/serde"] | ||
# This feature is solely for the purpose of being able to generate documetation without a ROS installation | ||
# The only intended usage of this feature is for docs.rs builders to work, and is not intended to be used by end users | ||
generate_docs = ["rosidl_runtime_rs/generate_docs"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We actually depend on u128 FFI functions (and suppress warnings currently), so it'd be nice if our minimum was actually 1.78 so we could remove that.
#398
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've bumped the minimum version to 1.78 because I agree that it's good to declare that the minimum version we support is the one where u128 is ABI safe.
But sadly that's not enough to let us remove the lint because the lint is still being applied for the foreseeable future, I guess because it's still not guaranteed to be ABI safe across all build targets.