#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 13245/week @ 2018-12-20 13648/week @ 2018-12-27 15433/week @ 2019-01-03 16375/week @ 2019-01-10 15524/week @ 2019-01-17 15507/week @ 2019-01-24 16305/week @ 2019-01-31 18786/week @ 2019-02-07 19254/week @ 2019-02-14 20003/week @ 2019-02-21 19459/week @ 2019-02-28 20891/week @ 2019-03-07 21050/week @ 2019-03-14 17686/week @ 2019-03-21 19083/week @ 2019-03-28

77,255 downloads per month
Used in 1,660 crates (35 directly)

MIT/Apache

174KB
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

~394KB