#core #mac #ios #bindings #foundation

core-foundation

Bindings to Core Foundation for OS X

19 releases

0.6.1 Jul 12, 2018
0.5.1 Jan 26, 2018
0.4.6 Nov 28, 2017
0.4.2 Jul 27, 2017
0.0.2 Feb 12, 2015

#1 in macOS APIs

Download history 17390/week @ 2018-08-12 20040/week @ 2018-08-19 17369/week @ 2018-08-26 12858/week @ 2018-09-02 13956/week @ 2018-09-09 17285/week @ 2018-09-16 15920/week @ 2018-09-23 15046/week @ 2018-09-30 15753/week @ 2018-10-07 15370/week @ 2018-10-14 16197/week @ 2018-10-21 16301/week @ 2018-10-28 15964/week @ 2018-11-04

46,093 downloads per month
Used in 1,659 crates (29 directly)

MIT/Apache

171KB
3K 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 nighty-only feature as of Rust 1.19.

For more experimental but more complete, generated bindings take a look at https://github.com/michaelwu/RustKit.

Dependencies

~364KB