Crates.io | cyclonedx-rust |
lib.rs | cyclonedx-rust |
version | 0.1.2 |
source | src |
created_at | 2021-03-18 15:24:08.986395 |
updated_at | 2021-03-23 21:38:08.502327 |
description | A library for encoding/decoding CycloneDx BoM |
homepage | |
repository | https://github.com/doddi/cyclonedx-rust |
max_upload_size | |
id | 370550 |
size | 104,083 |
cyclonedx-rust is a simple library to encode/decode CycloneDX BOM
You can encode and decode from any reader type using the methods:
Decoding:
CycloneDX::decode(reader: R, format: CycloneDXFormatType,) -> Result<CycloneDX, CycloneDXDecodeError>
Encoding:
CycloneDX::encode<(writer: W, dx: CycloneDX, format: CycloneDXFormatType,) -> Result<(), CycloneDXEncodeError>
Run cargo docs --open
for more detailed documentation