Registry / other / core-foundation-sys

core-foundation-sys

JSON →
library0.8.7rscratesunverified

Bindings to Core Foundation for macOS

# Cargo.toml [dependencies] core-foundation-sys = "0.8.7"
INSTALL
IMPORT
SIG · CORE-FOUNDATION-SY
C
core-foundation-sys
otherrustv0.8.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CFTypeRef
✓ use core_foundation_sys::base::CFTypeRef;

Use Core Foundation type references

use core_foundation_sys::base::CFTypeRef; fn main() { let null: CFTypeRef = std::ptr::null(); println!("CFTypeRef null: {:?}", null); }
Debug
Known issues
gotchaOnly works on macOS/iOS
fix
Use cfg(target_os = "macos") or cfg(target_os = "ios") to gate usage
affects: >=0.8.0
Upgrade
Version history
0.8.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
core-foundation-sys — cargo add core-foundation-sys · libregistry