swift-demangle 0.0.2

A Swift Demangle function in Rust
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 4.85 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • eugenehp/swift-demangle
    1 0 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • eugenehp

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

Copyright

© 2024, Eugene Hauptmann