objc-sys
Raw bindings to the Objective-C runtime and ABI
0.3.5
35M downloads/mo
#1544 most downloaded on crates.io
madsmtm/objc2
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 7 of 7 stable releases
1 version withdrawn
withdrawn after publishing
5 years old
14 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
14 releases · Nov 2021 to May 2024
2022
2023
2024
2025
2026
Releases
latest 14-
0.3.521 May 2024Release notes
Open source →Fixed
- Fixed an issue with publishing using an older version of Cargo that didn't
handle the
lints.workspace = trueCargo setup properly.
- Fixed an issue with publishing using an older version of Cargo that didn't
handle the
-
0.3.421 May 2024 withdrawnRelease notes
Open source →Deprecated
- Deprecated the
appleCargo feature flag, it is assumed by default on Apple platforms.
- Deprecated the
-
0.3.317 Apr 2024Release notes
Open source →Added
- Added
freemethod (same aslibc::free). - Moved documentation from
README.mdtodocs.rs.
- Added
-
0.3.203 Dec 2023Release notes
Open source →Added
- Added
objc_terminate,object_isClass,objc_allocandobjc_allocWithZonenow that Rust's macOS deployment target is 10.12.
- Added
-
0.3.120 Jun 2023 -
0.3.007 Feb 2023Release notes
Open source →Changed
- BREAKING: Changed
linkskey fromobjc_0_2toobjc_0_3(soDEP_OBJC_0_2_CC_ARGSin build scripts becomesDEP_OBJC_0_3_CC_ARGS). - BREAKING: Renamed
rust_objc_sys_0_2_try_catch_exceptiontotry_catch.
- BREAKING: Changed
-
0.2.0-beta.324 Dec 2022 pre-release -
0.2.0-beta.228 Aug 2022 pre-release -
0.2.0-beta.119 Jul 2022 pre-releaseRelease notes
Open source →Added
- Added
unstable-c-unwindfeature. - Use
doc_auto_cfgto improve documentation output.
- Added
-
0.2.0-beta.013 Jun 2022 pre-releaseRelease notes
Open source →Changed
- BREAKING: Changed
linkskey fromobjctoobjc_0_2for better future compatibility, until we reach 1.0 (soDEP_OBJC_CC_ARGSin build scripts becomesDEP_OBJC_0_2_CC_ARGS). - BREAKING: Apple's runtime is now always the default.
Removed
- BREAKING: Removed type aliases
Class,Ivar,MethodandProtocolsince they could be mistaken for theobjc2::runtimestructs with the same name. - BREAKING: Removed
objc_property_t. - BREAKING: Removed
objc_hook_getClassandobjc_hook_lazyClassNamertype aliases (for now). - BREAKING: Removed
DEP_OBJC_RUNTIMEbuild script output.
- BREAKING: Changed
-
0.2.0-alpha.103 Jan 2022 pre-releaseRelease notes
Open source →Added
- Added
objc_exception_try_enterandobjc_exception_try_exiton macOS x86.
Changed
- BREAKING: Correctly
cfg-guarded the following types and methods to not be available on macOS x86:objc_exception_matcherobjc_exception_preprocessorobjc_uncaught_exception_handlerobjc_exception_handlerobjc_begin_catchobjc_end_catchobjc_exception_rethrowobjc_setExceptionMatcherobjc_setExceptionPreprocessorobjc_setUncaughtExceptionHandlerobjc_addExceptionHandlerobjc_removeExceptionHandler
Removed
- BREAKING: Removed
objc_set_apple_compatible_objcxx_exceptionssince it is only available whenlibobjc2is compiled with the correct flags. - BREAKING: Removed
object_setInstanceVariableWithStrongDefaultsince it is only available since macOS 10.12. - BREAKING: Removed
objc_setHook_getClasssince it is only available since macOS 10.14.4. - BREAKING: Removed
objc_setHook_lazyClassNamersince it is only available since macOS 11.
- Added
-
0.2.0-alpha.022 Dec 2021 pre-releaseNothing published for this version
-
0.1.022 Nov 2021Release notes
Open source →Changed
- BREAKING: Use feature flags
apple,gnustep-X-Yorwinobjcto specify the runtime you're using, instead of theRUNTIME_VERSIONenvironment variable. - BREAKING:
DEP_OBJC_RUNTIMEnow returnsgnustepon WinObjC.
- BREAKING: Use feature flags
-
0.0.122 Nov 2021