4 releases

0.2.0 Aug 11, 2024
0.1.2 Sep 22, 2023
0.1.1 Mar 16, 2023
0.1.0 Jul 20, 2020

#14 in macOS and iOS APIs

Download history 47916/week @ 2024-11-21 53854/week @ 2024-11-28 52198/week @ 2024-12-05 54396/week @ 2024-12-12 43780/week @ 2024-12-19 45880/week @ 2024-12-26 46901/week @ 2025-01-02 51201/week @ 2025-01-09 49605/week @ 2025-01-16 52447/week @ 2025-01-23 51054/week @ 2025-01-30 89856/week @ 2025-02-06 137180/week @ 2025-02-13 153636/week @ 2025-02-20 152717/week @ 2025-02-27 135698/week @ 2025-03-06

610,844 downloads per month
Used in 1,237 crates (12 directly)

MIT/Apache

180KB
4.5K SLoC

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

~325–430KB