Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rustswift/swift-bindgen
Bridging the gap between Swift and Rust
https://github.com/rustswift/swift-bindgen
ffi interop rust swift
Last synced: 3 months ago
JSON representation
Bridging the gap between Swift and Rust
- Host: GitHub
- URL: https://github.com/rustswift/swift-bindgen
- Owner: nvzqz
- License: apache-2.0
- Created: 2019-09-16T08:49:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T02:06:19.000Z (over 2 years ago)
- Last Synced: 2024-05-23T04:03:48.934Z (6 months ago)
- Topics: ffi, interop, rust, swift
- Language: Rust
- Homepage:
- Size: 173 KB
- Stars: 148
- Watchers: 18
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# `swift-bindgen`
Bridging the gap between Swift and Rust, brought to you by
[Nikolai Vazquez](https://twitter.com/nikolaivazquez)!This project is very much a work-in-progress. If you would like to contribute,
please get involved by submitting
[issues](https://github.com/rustswift/swift-bindgen/issues),
[pull requests](https://github.com/rustswift/swift-bindgen/pulls),
or [getting in contact](mailto:[email protected]?subject=swift-bindgen)
to brainstorm.If this project is useful to you, please support it by
[sponsoring on GitHub](https://github.com/sponsors/nvzqz) or
[donating directly](https://www.paypal.me/nvzqz)!## Project Structure
This project is composed of the following crates:
- `swift-bindgen`: Generates bindings for two-way bridging of Rust/Swift types.
- `swift`: High-level idiomatic bindings to the Swift standard library.
- `swift-rt`: High-level idiomatic bindings to the Swift runtime.
- `swift-sys`: Low-level bindings to the Swift runtime.
## Acknowledgements
- Jordan Rose ([@UINT_MIN](https://twitter.com/UINT_MIN)) for insight into how
the Swift runtime works internally.- Joe Groff ([@jckarter](https://twitter.com/jckarter)) for being my Swift
emotional support dog while I ask for feedback on my assumptions of Swift
internals and ABI.- Contributors to Swift—past, present, and future—for creating a fascinating
language that makes apps easier to develop and faster to run.## License
This project is licensed under the [Apache License (Version 2.0)](https://github.com/rustswift/swift-bindgen/blob/main/LICENSE.txt).