27 releases (15 breaking)

new 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

#24 in macOS and iOS APIs

Download history 2070/week @ 2025-02-02 1560/week @ 2025-02-09 1654/week @ 2025-02-16 1685/week @ 2025-02-23 1772/week @ 2025-03-02 2082/week @ 2025-03-09 2338/week @ 2025-03-16 3033/week @ 2025-03-23 3682/week @ 2025-03-30 4484/week @ 2025-04-06 4572/week @ 2025-04-13 4884/week @ 2025-04-20 4823/week @ 2025-04-27 5477/week @ 2025-05-04 4524/week @ 2025-05-11 3970/week @ 2025-05-18

19,294 downloads per month
Used in 32 crates (7 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