Email me

Crate features / objc2-core-foundation

Feature flags · objc2-core-foundation 0.3.2 · from crates.io 2026-10-24

objc2-core-foundation features: what each one does, and the line to copy

Short answerobjc2-core-foundation 0.3.2 has 55 features. By default it turns on std, CFArray, CFAttributedString, CFAvailability, CFBag, CFBinaryHeap, CFBitVector, CFBundle, CFByteOrder, CFCGTypes, CFCalendar, CFCharacterSet, CFData, CFDate, CFDateFormatter, CFDictionary, CFError, CFFileDescriptor, CFFileSecurity, CFLocale, CFMachPort, CFMessagePort, CFNotificationCenter, CFNumber, CFNumberFormatter, CFPlugIn, CFPlugInCOM, CFPreferences, CFPropertyList, CFRunLoop, CFSet, CFSocket, CFStream, CFString, CFStringEncodingExt, CFStringTokenizer, CFTimeZone, CFTree, CFURL, CFURLAccess, CFURLEnumerator, CFUUID, CFUserNotification, CFUtilities, CFXMLNode, CFXMLParser, bitflags, block2, dispatch2, libc, objc2; add default-features = false to start from nothing. It needs Rust 1.71 or newer.

Pick features

0.3.2latest version
55features
5optional dependencies
1.71MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
CFArrayyesnothing else (a switch the code checks)
CFAttributedStringyesnothing else (a switch the code checks)
CFAvailabilityyesnothing else (a switch the code checks)
CFBagyesnothing else (a switch the code checks)
CFBasenothing else (a switch the code checks)
CFBinaryHeapyesnothing else (a switch the code checks)
CFBitVectoryesnothing else (a switch the code checks)
CFBundleyesnothing else (a switch the code checks)
CFByteOrderyesnothing else (a switch the code checks)
CFCGTypesyesnothing else (a switch the code checks)
CFCalendaryesbitflags
CFCharacterSetyesnothing else (a switch the code checks)
CFDatayesbitflags
CFDateyesbitflags
CFDateFormatteryesbitflags
CFDictionaryyesnothing else (a switch the code checks)
CFErroryesnothing else (a switch the code checks)
CFFileDescriptoryesnothing else (a switch the code checks)
CFFileSecurityyesbitflags
CFLocaleyesnothing else (a switch the code checks)
CFMachPortyesnothing else (a switch the code checks)
CFMessagePortyesnothing else (a switch the code checks)
CFNotificationCenteryesnothing else (a switch the code checks)
CFNumberyesnothing else (a switch the code checks)
CFNumberFormatteryesbitflags
CFPlugInyesnothing else (a switch the code checks)
CFPlugInCOMyesnothing else (a switch the code checks)
CFPreferencesyesnothing else (a switch the code checks)
CFPropertyListyesbitflags
CFRunLoopyesbitflags
CFSetyesnothing else (a switch the code checks)
CFSocketyesbitflags
CFStreamyesbitflags
CFStringyesbitflags
CFStringEncodingExtyesnothing else (a switch the code checks)
CFStringTokenizeryesbitflags
CFTimeZoneyesnothing else (a switch the code checks)
CFTreeyesnothing else (a switch the code checks)
CFURLyesbitflags
CFURLAccessyesnothing else (a switch the code checks)
CFURLEnumeratoryesbitflags
CFUUIDyesnothing else (a switch the code checks)
CFUserNotificationyesnothing else (a switch the code checks)
CFUtilitiesyesnothing else (a switch the code checks)
CFXMLNodeyesnothing else (a switch the code checks)
CFXMLParseryesbitflags
allocnothing else (a switch the code checks)
bitflagsyesdep:bitflags
block2yesdep:block2
dispatch2yesdep:dispatch2
libcyesdep:libc
objc2yesdep:objc2, dispatch2?/objc2
stdyesalloc
unstable-coerce-pointeenothing else (a switch the code checks)
unstable-darwin-objcnothing else (a switch the code checks)

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version objc2-core-foundation declares (rust-version), and the release that changed it:

  • 0.3.0 (2025-01-22): Rust 1.71

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p objc2-core-foundation --precise <version>, or use resolver 3, which picks compatible versions for you.

More on objc2-core-foundation

Real downloads, dependents and alternatives: objc2-core-foundation crate data (539.1K real downloads a day, 422 dependents).

docs.rs feature list · crates.io · license Zlib OR Apache-2.0 OR MIT · edition 2021

Up next

Before you depend on itobjc2-core-foundation crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ