#swift #demangle

bin+lib swift-demangle

A Swift Demangle function in Rust

2 releases

0.0.2 Oct 4, 2024
0.0.1 Aug 5, 2024

#1269 in Command line utilities

Download history 120/week @ 2024-08-05 3/week @ 2024-08-12 9/week @ 2024-09-16 6/week @ 2024-09-23 131/week @ 2024-09-30 20/week @ 2024-10-07

151 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