Add 'collect_instantiations'

This library scans Rust source files and collects all usages of the
`cc_template!` macro.

The plan is to use this library from `rs_bindings_from_cc` tool (which will need
to grow a few command line flags to support the template instantiation mode).

PiperOrigin-RevId: 447430749
5 files changed
tree: 176880e2b07585276db78a99b21322864267c557
  1. cc_template/
  2. common/
  3. docs/
  4. lifetime_annotations/
  5. migrator/
  6. rs_bindings_from_cc/
  7. BUILD
  8. CODE_OF_CONDUCT
  9. CONTRIBUTING
  10. LICENSE
  11. README.md
README.md

Crubit: C++/Rust Bidirectional Interop Tool

Extremely experimental interop tooling for C++ and Rust.

Please don‘t use, this is an experiment and we don’t yet know where will it take us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.