#macos #graphics #bindings #type #low-level #foundation #default

core-graphics-types

Bindings for some fundamental Core Graphics types

4 releases

0.1.3 Nov 30, 2023
0.1.2 Jun 20, 2023
0.1.1 Sep 15, 2020
0.1.0 Jul 20, 2020

#281 in Graphics APIs

Download history 77384/week @ 2023-12-10 76272/week @ 2023-12-17 44571/week @ 2023-12-24 63380/week @ 2023-12-31 72151/week @ 2024-01-07 73910/week @ 2024-01-14 74836/week @ 2024-01-21 72192/week @ 2024-01-28 78583/week @ 2024-02-04 72025/week @ 2024-02-11 72845/week @ 2024-02-18 82381/week @ 2024-02-25 78679/week @ 2024-03-03 79999/week @ 2024-03-10 81395/week @ 2024-03-17 78441/week @ 2024-03-24

325,978 downloads per month
Used in 2,652 crates (17 directly)

MIT/Apache

115KB
2.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.

Dependencies

~205–310KB