cargo-indicate

Crates.iocargo-indicate
lib.rscargo-indicate
version0.2.1
sourcesrc
created_at2023-04-08 10:09:16.014078
updated_at2023-10-08 07:17:55.180608
descriptionCrate for running GraphQL queries on Rust dependency trees
homepage
repositoryhttps://github.com/volvo-cars/cargo-indicate
max_upload_size
id833541
size134,531
Julius Gustavsson (vccjgust)

documentation

README

🚨 cargo-indicate 🚨

Run GraphQL Queries on Your Rust Dependency Tree

Crates.io (cargo-indicate)


This is the result of a Master's thesis written at LTH in collaboration with Volvo Cars by Emil Eriksson.

To get started, install cargo-indicate using

cargo install cargo-indicate

and check out the cargo-indicate docs.

While cargo-indicate allows for experimenting, it might be a good idea to read the conclusions in this thesis, as they provide guidance and context on how to interpret the results, and provides context. The thesis also includes explanation of the code and design decisions.

This project relies heavily on trustfall, the query engine behind cargo-semver-checks.

Project Structure

Caching of HTTP requests

While indicate will cache already made requests during one run, it will also use the GitHub HTTP cache system, where ETags are used to verify if an API request has changed since it was last made (perhaps in another invocation of indicate). If it receives a 304 Not Changed, it will use the ~/.github/ directory to retrieve a cached version.

Commit count: 351

cargo fmt