#cocoa #macos-10-8 #set-mac-os-10-7-support

cocoa-foundation

Bindings to Cocoa Foundation for macOS

3 releases

Uses old Rust 2015

0.1.2 Sep 22, 2023
0.1.1 Mar 16, 2023
0.1.0 Jul 20, 2020

#65 in macOS and iOS APIs

Download history 48933/week @ 2023-11-01 43235/week @ 2023-11-08 57228/week @ 2023-11-15 49943/week @ 2023-11-22 45575/week @ 2023-11-29 44780/week @ 2023-12-06 43684/week @ 2023-12-13 39482/week @ 2023-12-20 33528/week @ 2023-12-27 40078/week @ 2024-01-03 39874/week @ 2024-01-10 46128/week @ 2024-01-17 42953/week @ 2024-01-24 42374/week @ 2024-01-31 45488/week @ 2024-02-07 35908/week @ 2024-02-14

174,929 downloads per month
Used in 1,227 crates (9 directly)

MIT/Apache

170KB
4K 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.

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

~295–405KB