-
Notifications
You must be signed in to change notification settings - Fork 8
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
Consider using automotive_diag
crate for UDS constants
#63
Comments
I have seen your crate and appreciate the work! I'm not sure if it makes sense to rely on an external dependency for this due to how rust packaging works. If I want to quickly add/modify one of the constants I need to make a PR and wait for a new release of your crate, as you can't push to crates.io when your package depends on a non-released version of a crate. I do have a refactor planned with a similar structure like you have with a What did you have in mind for a collaboration? Are there any direct benefits to the end-user for sharing constants between multiple crates? |
@pd0wm thx for responding! So a few thoughts:
So I think we would all benefit from one common implementation rather than going the "lone hero" route. I certainly don't want to be the only hero maintaining my stuff :) |
I'll check what changes would be needed and consider it. Most likely I wont have time till after Black Hat & Defcon. Two things I'm missing after a quick glance are a way to iterate over commands (I use |
Sure. Could you give an example of how you would use iteration over enum values? Is this for UI display purposes, or something else? Also, I did try insta::assert_snapshot!(
json,
@r###"{"command":"DiagnosticSessionControl","command_byte":{"Standard":"DiagnosticSessionControl"}}"###
); |
|
I just released v0.1.8 - should make migration much easier (includes iter & serde & a few other things) |
Hi, would you be interested in collaborating on automotive_diag crate which defines constants for UDS and other standards, and allows both std and no-std usage.
The text was updated successfully, but these errors were encountered: