Rust bindings to Core Foundation for macOS and iOS
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Josh Matthews d96fc4a040
Some checks failed
Rust / rustfmt (push) Has been cancelled
Rust / semver (push) Has been cancelled
Rust / build (macos-14, 1.71.0) (push) Has been cancelled
Rust / build (macos-14, stable) (push) Has been cancelled
Rust / build (macos-15, stable) (push) Has been cancelled
Rust / build (macos-15-intel, stable) (push) Has been cancelled
Rust / typos (push) Has been cancelled
Rust / Result (push) Has been cancelled
Publish core-text 22.0.0. (#751)
* Publish core-text 22.0.0.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* cargo fmt.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Use Rust 1.71.0.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2026-05-08 12:56:22 +00:00
.github/workflows Publish core-text 22.0.0. (#751) 2026-05-08 12:56:22 +00:00
cocoa Fix clippy lints. (#736) 2025-07-13 05:38:26 +00:00
cocoa-foundation Bump patch version in deprecated crates (#732) 2025-05-23 14:07:14 +00:00
core-foundation Upgrade MSRV to 1.68 and remove macos-13 builder (#747) 2026-01-15 10:13:02 +00:00
core-foundation-sys chore: remove redundant word in comment (#740) 2025-08-29 11:00:01 +00:00
core-graphics Bump core-graphics to v0.25.0 (#722) 2025-05-27 01:39:27 +00:00
core-graphics-types Enable clippy, suppress lots, fix a couple. (#703) 2024-08-13 04:25:49 +00:00
core-text Publish core-text 22.0.0. (#751) 2026-05-08 12:56:22 +00:00
io-surface Bump patch version in deprecated crates (#732) 2025-05-23 14:07:14 +00:00
.gitignore Start splitting out a separate sys package 2015-09-05 21:32:34 -07:00
.travis.yml Don't run travis on master or 10.15 2021-11-02 12:19:01 -04:00
.typos.toml ci: Add typos check (#697) 2024-08-12 01:28:59 +00:00
Cargo.toml Publish core-text 22.0.0. (#751) 2026-05-08 12:56:22 +00:00
clippy.toml Fix clippy::doc_markdown lints. (#705) 2024-08-14 02:16:33 +00:00
COPYRIGHT Add license headers 2013-04-04 19:01:35 -07:00
LICENSE-APACHE Add license 2013-04-03 18:18:52 -07:00
LICENSE-MIT Add license 2013-04-03 18:18:52 -07:00
README.md Add some links to other alternatives (#449) 2024-04-09 09:22:53 +00:00

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.