Skip to content

LukeMathWalker/rustdoc-reflection

Repository files navigation

Compile-time Rust Reflection Toolkit, Powered By rustdoc-json

Building blocks for analyzing Rust crates via rustdoc's JSON output.

Crates

Crate Description
rustdoc_ext Extension traits for rustdoc-types.
rustdoc_ir An Intermediate Representation (IR) for Rust types and functions.
rustdoc_processor Compute, cache, index, and query rustdoc JSON documentation.
rustdoc_resolver Convert rustdoc_types items into rustdoc_ir types.

Origin

These crates were extracted from Pavex, which uses them to power its compile-time dependency-injection analysis.

Testing Strategy

The crates in this repository are currently tested transitively via Pavex's and cheadergen's test suites. A standalone test suite will follow sooner or later.

License

Licensed under the Apache License, Version 2.0.

About

A toolkit to perform compile-time reflection via rustdoc-json. Used in Pavex and cheadergen.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages