MCPcopy Index your code
hub / github.com/crablang/crab

github.com/crablang/crab @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
166,095 symbols 572,711 edges 28,113 files 18,834 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Pattern (Interface)
A string pattern. A `Pattern<'a>` expresses that the implementing type can be used as a string pattern for searching in [8 …
library/core/src/str/pattern.rs
Swizzle (Interface)
Create a vector from the elements of another vector. [7 implementers]
library/portable-simd/crates/core_simd/src/swizzle.rs
Linker (Interface)
Linker abstraction used by `back::link` to build up the command to invoke a linker. This trait is the total list of req [8 …
compiler/rustc_codegen_ssa/src/back/linker.rs
QueryTypeOp (Interface)
"Query type ops" are type ops that are implemented using a [canonical query][c]. The `Self` type here contains the kerne [7 …
compiler/rustc_trait_selection/src/traits/query/type_op/mod.rs
DebugWithContext (Interface)
An extension to `fmt::Debug` for data that can be better printed with some auxiliary data `C`. [10 implementers]
compiler/rustc_mir_dataflow/src/framework/fmt.rs
Labeller (Interface)
Each instance of a type that implements `Label ` maps to a unique identifier with respect to `C`, which is used to ide [9 …
compiler/rustc_graphviz/src/lib.rs
InvocationCollectorNode (Interface)
A trait implemented for all `AstFragment` nodes and providing all pieces of functionality used by `InvocationCollector`. [18 …
compiler/rustc_expand/src/expand.rs
Visitor (Interface)
Each method of the `Visitor` trait is a hook to be potentially overridden. Each method's default implementation recursiv [72 …
compiler/rustc_ast/src/visit.rs

Core symbols most depended-on inside this repo

new
called by 11880
library/std/src/sys/unix/weak.rs
transmute
called by 7674
tests/ui/issues/issue-15562.rs
run
called by 4732
src/tools/cargo/crates/cargo-test-support/src/lib.rs
cargo
called by 4267
src/tools/cargo/crates/cargo-test-support/src/lib.rs
new
called by 3807
src/tools/cargo/src/cargo/ops/cargo_new.rs
with_stderr_data
called by 2834
src/tools/cargo/crates/cargo-test-support/src/lib.rs
project
called by 2702
src/tools/cargo/crates/cargo-test-support/src/lib.rs
join
called by 2669
src/tools/cargo/src/cargo/util/flock.rs

Shape

Function 89,526
Method 41,754
Class 21,503
Interface 8,081
Enum 5,231

Languages

Rust98%
TypeScript1%
C++1%
Python1%
C1%

Modules by API surface

library/stdarch/crates/core_arch/src/aarch64/neon/generated.rs2,534 symbols
library/stdarch/crates/core_arch/src/x86/avx512fp16.rs1,846 symbols
library/stdarch/crates/core_arch/src/x86/avx512bw.rs1,653 symbols
src/doc/rustc-dev-guide/mermaid.min.js1,270 symbols
library/stdarch/crates/core_arch/src/x86_64/avx512f.rs1,217 symbols
library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs1,076 symbols
library/stdarch/crates/core_arch/src/mips/msa.rs1,046 symbols
library/stdarch/crates/core_arch/src/x86/avx512dq.rs798 symbols
library/stdarch/crates/core_arch/src/loongarch64/lasx/tests.rs736 symbols
library/stdarch/crates/core_arch/src/loongarch64/lasx/generated.rs736 symbols
library/stdarch/crates/core_arch/src/loongarch64/lsx/tests.rs716 symbols
library/stdarch/crates/core_arch/src/loongarch64/lsx/generated.rs716 symbols

For agents

$ claude mcp add crab \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact