#swift #demangle #run-time #cli

bin+lib swift-demangle

A Swift Demangle function in Rust

2 releases

0.0.2 Oct 4, 2024
0.0.1 Aug 5, 2024

#1304 in Command line utilities

Download history 1/week @ 2024-08-15 8/week @ 2024-09-12 6/week @ 2024-09-19 12/week @ 2024-09-26 132/week @ 2024-10-03 8/week @ 2024-10-10

111 downloads per month

MIT license

5KB
81 lines

swift-demangle

A Swift Demangle function in Rust

Installation

cargo add swift-demangle

API usage

use swift_demangle::demangle;

demangle("$sSa"); // returns "Swift.Array"

CLI usage

[!IMPORTANT]
It's important to escape $ in your shell interface.

cargo run "_\$s7SwiftUI12__GridLayoutVAA014_VariadicView_F4RootAAWP"
# protocol witness table for SwiftUI.__GridLayout : SwiftUI._VariadicView_ViewRoot in SwiftUI
# Swift.Array

Licence

MIT

© 2024, Eugene Hauptmann

Dependencies