CycloneDX / cyclonedx-rust-cargo

Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
https://cyclonedx.org/
Apache License 2.0
106 stars 44 forks source link

Fix API requiring non-exhaustive matching that led to bugs #725

Closed Shnatsel closed 5 months ago

Shnatsel commented 5 months ago

Fix clunky API that led to https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/722 so that it never happens again

In the long run we'll want to remove #[non_exhaustive] from SpecVersion, but that's a semver-breaking change.