Registry / utility / spdx-rs

spdx-rs

JSON →
library0.5.5rscratesunverified

Parse and interact with SPDX documents for software bill of materials (SBOM) management.

# Cargo.toml [dependencies] spdx-rs = "0.5.5"
INSTALL
IMPORT
SIG · SPDX-RS
S
spdx-rs
utilityrustv0.5.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpdxDocument
use spdx_rs::SpdxDocument;

Parses an SPDX document from a file

use spdx_rs::SpdxDocument; fn main() -> Result<(), Box<dyn std::error::Error>> { let doc = SpdxDocument::from_file("example.spdx.json")?; println!("{:?}", doc.creation_info); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
spdx-rs — cargo add spdx-rs · libregistry