semvec/pypi-packages huggingface dataset:
rust-demangler 1.0
A package for demangling Rust symbols

# rust_demangler

A package for demangling Rust symbols, written in Python.

Setup
-----
```bash
pip install rust-demangler
```

Usage
-----
```py
from rust-demangler import demangle
print(demangle(<mangled_name>))
```
Example 
-------
```py
demangle("_ZN3foo3barE") == "foo::bar"  #legacy style
demangle("_RNvC6_123foo3bar") == "123foo::bar"  #v0 style
```

License 
-------

This project is licensed under the [MIT License](LICENSE)