Rust bindings to Core Foundation for macOS and iOS
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
Rust / rustfmt (push) Has been cancelled
Rust / semver (push) Has been cancelled
Rust / build (macos-14, 1.71.0) (push) Has been cancelled
Rust / build (macos-14, stable) (push) Has been cancelled
Rust / build (macos-15, stable) (push) Has been cancelled
Rust / build (macos-15-intel, stable) (push) Has been cancelled
Rust / typos (push) Has been cancelled
Rust / Result (push) Has been cancelled
* Publish core-text 22.0.0. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * cargo fmt. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Use Rust 1.71.0. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net> |
||
| .github/workflows | ||
| cocoa | ||
| cocoa-foundation | ||
| core-foundation | ||
| core-foundation-sys | ||
| core-graphics | ||
| core-graphics-types | ||
| core-text | ||
| io-surface | ||
| .gitignore | ||
| .travis.yml | ||
| .typos.toml | ||
| Cargo.toml | ||
| clippy.toml | ||
| COPYRIGHT | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| README.md | ||
core-foundation-rs
Compatibility
Targets macOS 10.7 by default.
To enable features added in macOS 10.8, set Cargo feature mac_os_10_8_features. To have both 10.8 features and 10.7 compatibility, also set mac_os_10_7_support. Setting both requires weak linkage, which is a nightly-only feature as of Rust 1.19.
For more experimental but more complete, generated bindings take a look at https://github.com/michaelwu/RustKit. Other alternatives are https://github.com/nvzqz/fruity and https://gitlab.com/objrs/objrs
Contributing
If you wish to start contributing or even make a one-off change, simply submit a pull request with the code or documentation change and we'll go from there.