Crate swift_bridge_build
source ·Expand description
Parse Rust source files for #[swift_bridge::bridge] modules and then generate the corresponding C header files and Swift files.
Structs§
- Config for generating Swift packages
- Generated Swift files and C headers.
Enums§
- Currently supported platforms for genereting Swift Packages.
Functions§
- Generates an xcframework embedded in a Swift Package from the Rust project.
- Parse rust sources files for
#\[swift_bridge::bridge\]
headers and generate the corresponding Swift files.