#macos #framework #objc

core-foundation

Bindings to Core Foundation for macOS

22 releases

0.7.0 Nov 12, 2019
0.6.4 Mar 29, 2019
0.6.3 Nov 8, 2018
0.6.1 Jul 12, 2018
0.0.2 Feb 12, 2015

#2 in macOS APIs

Download history 43137/week @ 2019-10-04 36822/week @ 2019-10-11 35639/week @ 2019-10-18 36055/week @ 2019-10-25 36448/week @ 2019-11-01 37322/week @ 2019-11-08 39100/week @ 2019-11-15 42091/week @ 2019-11-22 43654/week @ 2019-11-29 47893/week @ 2019-12-06 47085/week @ 2019-12-13 32109/week @ 2019-12-20 29470/week @ 2019-12-27 45236/week @ 2020-01-03 45382/week @ 2020-01-10

170,966 downloads per month
Used in 1,975 crates (46 directly)

MIT/Apache

180KB
3.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.


lib.rs:

This crate provides wrappers around the underlying CoreFoundation types and functions that are available on Apple's operating systems.

It also provides a framework for other crates to use when wrapping other frameworks that use the CoreFoundation framework.

Dependencies

~235KB