This is a Rust implementation of Package URL. See purl/README.md for details.
This project uses some nightly rustfmt settings. You can run cargo +nightly fmt
or cargo xtask fmt
to format the code.
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
.
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.