#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 26007/week @ 2019-07-30 11000/week @ 2019-08-06 29867/week @ 2019-08-13 28243/week @ 2019-08-20 27459/week @ 2019-08-27 31274/week @ 2019-09-03 29235/week @ 2019-09-10 32381/week @ 2019-09-17 34551/week @ 2019-09-24 41592/week @ 2019-10-01 38426/week @ 2019-10-08 35763/week @ 2019-10-15 36469/week @ 2019-10-22 34920/week @ 2019-10-29 38675/week @ 2019-11-05

144,642 downloads per month
Used in 1,921 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