#macos #framework #objc

core-foundation

Bindings to Core Foundation for macOS

21 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 22593/week @ 2019-04-24 23565/week @ 2019-05-01 23446/week @ 2019-05-08 24499/week @ 2019-05-15 25587/week @ 2019-05-22 29566/week @ 2019-05-29 30153/week @ 2019-06-05 28842/week @ 2019-06-12 27114/week @ 2019-06-19 25141/week @ 2019-06-26 23266/week @ 2019-07-03 23025/week @ 2019-07-10 23114/week @ 2019-07-17 27295/week @ 2019-07-24 25696/week @ 2019-07-31

96,662 downloads per month
Used in 1,806 crates (42 directly)

MIT/Apache

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

~225KB