@@ -47,6 +47,14 @@ malloc = ["malloc_buf"]
4747# Expose features that requires creating blocks.
4848block = [" block2" ]
4949
50+ # Runtime selection. See `objc-sys` for details.
51+ apple = [" objc-sys/apple" , " objc2-encode/apple" , " block2?/apple" ]
52+ gnustep-1-7 = [" objc-sys/gnustep-1-7" , " objc2-encode/gnustep-1-7" , " block2?/gnustep-1-7" ]
53+ gnustep-1-8 = [" gnustep-1-7" , " objc-sys/gnustep-1-8" , " objc2-encode/gnustep-1-8" , " block2?/gnustep-1-8" ]
54+ gnustep-1-9 = [" gnustep-1-8" , " objc-sys/gnustep-1-9" , " objc2-encode/gnustep-1-9" , " block2?/gnustep-1-9" ]
55+ gnustep-2-0 = [" gnustep-1-9" , " objc-sys/gnustep-2-0" , " objc2-encode/gnustep-2-0" , " block2?/gnustep-2-0" ]
56+ gnustep-2-1 = [" gnustep-2-0" , " objc-sys/gnustep-2-1" , " objc2-encode/gnustep-2-1" , " block2?/gnustep-2-1" ]
57+
5058# Make the `sel!` macro look up the selector statically.
5159#
5260# The plan is to enable this by default, but right now we are uncertain of
@@ -69,16 +77,13 @@ unstable-autoreleasesafe = []
6977# `objc2-encode/unstable-c-unwind` to use this.
7078unstable-c-unwind = []
7179
72- # For better documentation on docs.rs
73- unstable-docsrs = []
80+ # Use nightly features to make Object and other types !Sized.
81+ #
82+ # You must manually enable `objc-sys/unstable-extern-types` to use this.
83+ unstable-extern-types = []
7484
75- # Runtime selection. See `objc-sys` for details.
76- apple = [" objc-sys/apple" , " objc2-encode/apple" , " block2?/apple" ]
77- gnustep-1-7 = [" objc-sys/gnustep-1-7" , " objc2-encode/gnustep-1-7" , " block2?/gnustep-1-7" ]
78- gnustep-1-8 = [" gnustep-1-7" , " objc-sys/gnustep-1-8" , " objc2-encode/gnustep-1-8" , " block2?/gnustep-1-8" ]
79- gnustep-1-9 = [" gnustep-1-8" , " objc-sys/gnustep-1-9" , " objc2-encode/gnustep-1-9" , " block2?/gnustep-1-9" ]
80- gnustep-2-0 = [" gnustep-1-9" , " objc-sys/gnustep-2-0" , " objc2-encode/gnustep-2-0" , " block2?/gnustep-2-0" ]
81- gnustep-2-1 = [" gnustep-2-0" , " objc-sys/gnustep-2-1" , " objc2-encode/gnustep-2-1" , " block2?/gnustep-2-1" ]
85+ # Private.
86+ unstable-docsrs = []
8287
8388[dependencies ]
8489malloc_buf = { version = " 1.0" , optional = true }
0 commit comments