CycloneDX / cyclonedx-rust-cargo

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

Change visibility of model types #758

Closed justahero closed 1 month ago

justahero commented 1 month ago

Instead of setting the visibility of model types to the crate level, types are public now. When building the BOM some of the models were not able to be constructed. With the change inner BOM model types can now be constructed / used by external crates directly.

Instead of only adapting the Cpe type (as given in issue #739) all types in the /models folder are public now, including their associated validation functions.

Closes #739

ModestMannfred commented 1 month ago

Awesome! Thank you!