Skip to content

phylum-dev/purl

Repository files navigation

PURL

Introduction

This is a Rust implementation of Package URL. See purl/README.md for details.

Formatting

This project uses some nightly rustfmt settings. You can run cargo +nightly fmt or cargo xtask fmt to format the code.

Testing

The purl_test crate contains a test suite automatically generated from the official PURL test suite. It can be regenerated by running cargo xtask codegen.

Documentation

The documentation can be generated by running either cargo doc or cargo xtask doc. cargo xtask doc uses the nightly rustdoc to generate output more similar to docs.rs.