27 releases (15 breaking)

0.16.1 May 23, 2025
0.16.0 Aug 11, 2024
0.15.1 Jun 30, 2020
0.13.0 Nov 12, 2019
0.1.1 Nov 30, 2015

#63 in Graphics APIs

Download history 10082/week @ 2025-08-06 8532/week @ 2025-08-13 7783/week @ 2025-08-20 6441/week @ 2025-08-27 8075/week @ 2025-09-03 10265/week @ 2025-09-10 9685/week @ 2025-09-17 11309/week @ 2025-09-24 10561/week @ 2025-10-01 9891/week @ 2025-10-08 9347/week @ 2025-10-15 8841/week @ 2025-10-22 9540/week @ 2025-10-29 10124/week @ 2025-11-05 9357/week @ 2025-11-12 10027/week @ 2025-11-19

41,014 downloads per month
Used in 58 crates (6 directly)

MIT/Apache

310KB
6.5K SLoC

This crate has been deprecated in favour of the objc2-io-surface crate.


core-foundation-rs

Build Status

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.

Dependencies