#macos #framework #objc

core-foundation

Bindings to Core Foundation for macOS

22 releases

0.6.4 Mar 29, 2019
0.6.3 Nov 8, 2018
0.6.2 Sep 28, 2018
0.6.1 Jul 12, 2018
0.0.2 Feb 12, 2015

#2 in macOS APIs

Download history 15502/week @ 2019-01-20 15178/week @ 2019-01-27 17197/week @ 2019-02-03 19356/week @ 2019-02-10 19484/week @ 2019-02-17 20597/week @ 2019-02-24 19241/week @ 2019-03-03 21558/week @ 2019-03-10 19026/week @ 2019-03-17 17981/week @ 2019-03-24 20454/week @ 2019-03-31 23701/week @ 2019-04-07 21225/week @ 2019-04-14 20706/week @ 2019-04-21 24335/week @ 2019-04-28

96,662 downloads per month
Used in 1,745 crates (42 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 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

~400KB