5 releases

0.2.0 Aug 11, 2024
0.1.3 Nov 30, 2023
0.1.2 Jun 20, 2023
0.1.1 Sep 15, 2020
0.1.0 Jul 20, 2020

#555 in Graphics APIs

Download history 323318/week @ 2025-09-18 311336/week @ 2025-09-25 328169/week @ 2025-10-02 337230/week @ 2025-10-09 332925/week @ 2025-10-16 324973/week @ 2025-10-23 324290/week @ 2025-10-30 313457/week @ 2025-11-06 308739/week @ 2025-11-13 365690/week @ 2025-11-20 323488/week @ 2025-11-27 349185/week @ 2025-12-04 371832/week @ 2025-12-11 306879/week @ 2025-12-18 243565/week @ 2025-12-25 325528/week @ 2026-01-01

1,312,514 downloads per month
Used in 4,762 crates (24 directly)

MIT/Apache

125KB
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. Other alternatives are https://github.com/nvzqz/fruity and https://gitlab.com/objrs/objrs

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.

Dependencies

~210–320KB