--- id: rust-demangler version: "1.0" license: unclear license_treatment: permissive maintenance: abandoned --- # rust-demangler — A package for demangling Rust symbols License: permissive · Maintenance: abandoned · Downloads: 370.4K/mo ## What it is and what it does rust_demangler is a pure-Python utility that takes Rust's internal symbol names—the mangled identifiers generated by the Rust compiler—and converts them back into readable namespace-qualified names. It handles both the older legacy mangling scheme (names starting with _ZN) and the newer v0 scheme (_RN prefix), which are used by different Rust compiler versions and contexts. The package is straightforward to use: import the demangle function and pass it a mangled symbol string to get back the human-readable form. It has no external dependencies, making it lightweight to add to any project that needs to parse or display Rust symbols—common when working with profilers, debuggers, crash reports, or build artifacts. Use it for: - Parse and display Rust symbol names in crash reports or stack traces from compiled binaries. - Demangle symbols in profiler output to identify which Rust functions are consuming resources. - Convert symbol names in debugger output or binary analysis tools into readable function identifiers. - Process build artifacts or object files that contain Rust symbols for documentation or inspection. - Integrate symbol demangling into custom tooling for analyzing Rust compiled code. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts mangled Rust symbol names into their human-readable form, supporting both legacy and v0 mangling styles. Yes, if you need Rust symbol demangling and can accept that the package is no longer maintained. It has no dependencies, installs easily, and carries no security vulnerabilities. The core functionality is narrow and unlikely to break, but verify that it handles the specific mangling schemes your use case encounters before relying on it in production. ## Install pip install rust-demangler uv add rust-demangler poetry add rust-demangler ## Installing rust-demangler Before you install: Low friction to install; no runtime dependencies. However, the package has been abandoned since its single release on 2021-04-24 with no updates or maintenance since then. License in practice: MIT License permits free use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing perspective. Quickstart: pip install rust_demangler from rust_demangler import demangle print(demangle("_ZN3foo3barE")) # outputs: foo::bar Verify before relying: - Whether the demangling implementation handles all current Rust symbol formats or only the legacy and v0 styles shown in examples. - Whether the package works correctly with modern Python versions given the lack of maintenance since 2021. ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 370.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags rust symbol demangling, demangle rust names, rust name demangling, convert mangled rust symbols, rust symbol resolver, decode rust identifiers, rust-tooling, symbol-processing [View on SkillFed](https://skillfed.io/packages/rust-demangler) · [View on PyPI](https://pypi.org/project/rust-demangler/)