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

chore: allow turning a normalized string into a string #707

Closed ctron closed 6 months ago

ctron commented 6 months ago

Having a NormalizedString and wanting to consume it as a String isn't possible right now without cloning the String. I think this is not necessary. This PR adds a way to turn it back into a String.