-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Expose more Details of Purl and Cpe for writing #381
Conversation
Hi, https://github.com/CycloneDX/cyclonedx-rust-cargo/runs/12224035251 Thank you |
Signed-off-by: akoenig <[email protected]>
Signed-off-by: akoenig <[email protected]>
Signed-off-by: akoenig <[email protected]>
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.
Needs one change, other than that looks good. Thanks!
@@ -60,6 +60,12 @@ impl Validate for Purl { | |||
} | |||
} | |||
|
|||
impl<'a> From<PackageUrl<'a>> for Purl { |
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.
The PackageUrl crate currently has version 0.3.0, not 1.0 or something like that. It is likely that they will bump the version frequently. If we provide a From<PackageUrl>
implementation, that will expose the PackageUrl
type in the public API, and require an incompatible SemVer change to this crate every time the SemVer of PackageUrl
is bumped.
Could you provide a FromStr
implementation instead?
Thanks! Just needs a signoff with |
Signed-off-by: akoenig <[email protected]>
No description provided.