Skip to content
forked from rust-corpus/qrates

A framework for large scale analysis of the Rust ecosystem.

License

Notifications You must be signed in to change notification settings

purs3lab/qrates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qrates: Analysing Rust Code Corpus

Qrates is a tool for running large scale analysis of Rust code. In case you are curious what you can do with Qrates, you can find the Jupyter notebooks we produced for our paper “How Do Programmers Use Unsafe Rust?” here (the CSV files are available here).

The documentation explains how Qrates works and shows examples of how to use it on both public and private code bases. If you would like to use some part of Qrates as a library, you can find the API documentation here.

Running Queries on Entire crates.io

Running queries on entire crates.io requires a machine that has at least 150 GB of RAM (contributions that reduce this number are very welcome!). To help others to run interesting analyses, we set up a CI job that runs the queries and publishes the generated CSV files here. So, if you would like us to run your custom query, follow the instructions how to write your custom query and open a PR with it.

History

The initial version of the framework (originally called RustQL) was developed by Nicolas Winkler as part of his Bachelor thesis. Later, the Rust compiler team released Rustwide and stabilized the Rust procedural macros, which led the framework to be rewritten into its current form.

About

A framework for large scale analysis of the Rust ecosystem.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 64.4%
  • Rust 33.0%
  • Python 2.4%
  • Other 0.2%