9 unstable releases (4 breaking)
|0.5.2||Dec 1, 2022|
|0.5.1||Jul 5, 2022|
|0.5.0||Apr 13, 2022|
|0.4.1||Apr 12, 2022|
|0.1.0||Jul 15, 2021|
#180 in Data structures
9,588 downloads per month
Used in 3 crates
SPDX Documents in Rust
spdx-rs parses SPDX documents in multiple data formats to Rust structs.
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.
Simple usage examples for parsing documents from JSON and tag-value formats can be found in the integration tests.
The project is licensed under the MIT License.