#cocoa #foundation #ios #macos

cocoa-foundation

Bindings to Cocoa Foundation for macOS

2 releases

Uses old Rust 2015

new 0.1.1 Mar 16, 2023
0.1.0 Jul 20, 2020

#67 in macOS and iOS APIs

Download history 18606/week @ 2022-11-28 20083/week @ 2022-12-05 19150/week @ 2022-12-12 18715/week @ 2022-12-19 13822/week @ 2022-12-26 17217/week @ 2023-01-02 21190/week @ 2023-01-09 20593/week @ 2023-01-16 21977/week @ 2023-01-23 24139/week @ 2023-01-30 21328/week @ 2023-02-06 22550/week @ 2023-02-13 19467/week @ 2023-02-20 20060/week @ 2023-02-27 21919/week @ 2023-03-06 19929/week @ 2023-03-13

84,542 downloads per month
Used in 970 crates (8 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

~195–270KB