28 releases

0.9.4 Nov 30, 2023
0.9.3 Feb 7, 2022
0.9.2 Oct 12, 2021
0.9.1 Sep 15, 2020
0.0.2 Feb 12, 2015

#2 in macOS and iOS APIs

Download history 477425/week @ 2024-01-02 513465/week @ 2024-01-09 586732/week @ 2024-01-16 582017/week @ 2024-01-23 612103/week @ 2024-01-30 605926/week @ 2024-02-06 586442/week @ 2024-02-13 608105/week @ 2024-02-20 633220/week @ 2024-02-27 623448/week @ 2024-03-05 626380/week @ 2024-03-12 656834/week @ 2024-03-19 643616/week @ 2024-03-26 684717/week @ 2024-04-02 659285/week @ 2024-04-09 563773/week @ 2024-04-16

2,670,518 downloads per month
Used in 16,460 crates (169 directly)

MIT/Apache

305KB
6.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.

Contributing

If you wish to start contributing or even make a one-off change, simply submit a pull request with the code or documentation change and we'll go from there.


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

~0.4–380KB