swift_runtime/lib.rs
1//! Safe Rust interface to the Swift Runtime.
2//!
3//! This crate provides safe, ergonomic wrappers around the raw FFI bindings
4//! in `swift-runtime-sys`.
5
6//!
7//! ## Citation
8//!
9//! ```bibtex
10//! @software{rswift,
11//! author = {Eugene Hauptmann},
12//! title = {rswift},
13//! year = {2025},
14//! url = {https://github.com/eugenehp/rswift},
15//! note = {Build native Apple apps from Rust}
16//! }
17//! ```
18//!
19//! ## License
20//!
21//! GPL-3.0 — Copyright © 2025 [Eugene Hauptmann](https://github.com/eugenehp)
22
23pub use swift_runtime_sys as sys;
24
25pub mod metadata;
26pub mod retain;
27pub mod string;
28pub mod types;