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

#54 in Graphics APIs

Download history 126065/week @ 2025-01-19 130301/week @ 2025-01-26 140894/week @ 2025-02-02 231960/week @ 2025-02-09 224069/week @ 2025-02-16 252349/week @ 2025-02-23 259352/week @ 2025-03-02 261626/week @ 2025-03-09 251539/week @ 2025-03-16 242543/week @ 2025-03-23 236177/week @ 2025-03-30 230042/week @ 2025-04-06 198470/week @ 2025-04-13 209043/week @ 2025-04-20 214594/week @ 2025-04-27 204012/week @ 2025-05-04

841,106 downloads per month
Used in 4,105 crates (25 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

~225–330KB