Skip to content

trustification/spdx-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPDX Documents in Rust

crates.io-icon docs.rs-icon

spdx-rs parses SPDX documents in multiple data formats to Rust structs.

Data formats

The library has been designed for working with SPDX documents in JSON. This is achieved with Serde, so any data format supported by Serde should work, as long as the naming is consistent with that used in JSON SPDX documents.

In addition to serializing and deserializing with Serde, deserializing documents in tag value format is supported with a custom parser.

Usage

Simple usage examples for parsing documents from JSON and tag-value formats can be found in the integration tests.

License

The project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%