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

#65 in Graphics APIs

Download history 4785/week @ 2025-06-08 5746/week @ 2025-06-15 7220/week @ 2025-06-22 6009/week @ 2025-06-29 6695/week @ 2025-07-06 8146/week @ 2025-07-13 7545/week @ 2025-07-20 9313/week @ 2025-07-27 9632/week @ 2025-08-03 9496/week @ 2025-08-10 7770/week @ 2025-08-17 6981/week @ 2025-08-24 7483/week @ 2025-08-31 9920/week @ 2025-09-07 9079/week @ 2025-09-14 10795/week @ 2025-09-21

38,115 downloads per month
Used in 36 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