Skip to main content

codemap-rust

A Rust indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-rust:

AST node Symbol kind
function_item (free) function
function_item (inside impl) method (attached to the impl'd type)
function_signature_item (inside trait) method (attached to the trait)
struct_item class (with extra.rust_kind=struct)
enum_item class (with extra.rust_kind=enum)
trait_item class (with extra.rust_kind=trait)
const_item variable (with extra.rust_kind=const)
static_item variable (with extra.rust_kind=static)

impl Trait for Type blocks attach methods to Type (the receiver), so both inherent and trait impls end up addressable under the same Type#method() shape.

SymbolID encoding

scip-rust . . . src/user.rs/User#login().

Install

pip install codemap-rust

After install, codemap doctor lists rust alongside the other indexers on identical terms (ADR-004 + ADR-L001).

Limits

  • Methods on generic types (impl<T> Foo<T>) attach to Foo without the generic parameter — adequate for code search, lossy for type checking.
  • Macros are not expanded; their declarations are not captured as symbols.
  • mod declarations are not turned into namespace prefixes; the file path is the only namespace.

License

MIT.

Metadata

Release files for codemap-rust 0.4.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codemap-rust 0.4.10
File Size Uploaded Provenance Actions
codemap_rust-0.4.10.tar.gz 5.6 kB With provenance Details for codemap_rust-0.4.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codemap-rust 0.4.10
File Interpreter ABI Platform Actions
codemap_rust-0.4.10-py3-none-any.whl Python 3 none any Details for codemap_rust-0.4.10-py3-none-any.whl

Total release size: 10.8 kB

Release files / codemap_rust-0.4.10.tar.gz

Download URL codemap_rust-0.4.10.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f17c388ba355bb08f4b1c0f8e8ec4c123eb41fc0dbaf485c93bff46142fb2d79
BLAKE2b-256 checksum
How to use checksums
fc213c935f8c6faa93f9d4628892256a9c16dfc0530c64c7db0129966b543deb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release files / codemap_rust-0.4.10-py3-none-any.whl

Download URL codemap_rust-0.4.10-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d176b98115cdf149dbc845a071c6a2a513b0adf6e1ebad83f9a4a25270fe59cd
BLAKE2b-256 checksum
How to use checksums
99152366bfc390d7c127bcb09cebb5ef4b4ddbbc5b32064c83c2dd011e09e999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Security for codemap-rust 0.4.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codemap_rust-0.4.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page