drake

Crates.iodrake
lib.rsdrake
version0.2.0
sourcesrc
created_at2023-11-20 00:21:41.301931
updated_at2023-11-27 00:07:49.780094
descriptionA tree-sitter based codebase dependency explorer
homepage
repositoryhttps://github.com/charypar/drake
max_upload_size
id1041590
size44,692
Viktor Charypar (charypar)

documentation

https://docs.rs/drake

README

Drake

A tree-sitter based codebase dependency explorer.

About

Drake (as in Sir Francis) is a static analysis tool to map and search dependencies in a codebase by finding declarations and references and building a graph.

Drake currently support Swift, but it is based on tree-sitter, and may support other languages in the future.

Usage

As CLI

Drake can be installed with cargo install.

In the current version it supports two tasks

  • drake deps [PATH] <TYPE_NAME> recursively lists all the types TYPE_NAME depends on.
  • drake print [PATH] prints the declarations and references in each file.

As a library

Reasonable API and Cargo docs coming soon.

License

Drake is licensed under the MIT license. See LICENSE for more.

Commit count: 27

cargo fmt