Skip to content

Commit cf9f7bd

Browse files
madsmtmqdot
authored andcommitted
chore: Use objc2-foundation's types and methods
1 parent eb95de4 commit cf9f7bd

File tree

7 files changed

+161
-303
lines changed

7 files changed

+161
-303
lines changed

Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,18 @@ jni-utils = "0.1.1"
4747

4848
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
4949
objc2 = "0.5.1"
50-
objc2-foundation = { version = "0.2.0", features = ["NSArray", "NSData", "NSDictionary", "NSError", "NSString", "NSUUID", "NSValue"] }
50+
objc2-foundation = { version = "0.2.0", features = [
51+
"block2",
52+
"NSArray",
53+
"NSData",
54+
"NSDictionary",
55+
"NSEnumerator",
56+
"NSError",
57+
"NSObject",
58+
"NSString",
59+
"NSUUID",
60+
"NSValue",
61+
] }
5162
libc = "0.2.151"
5263

5364
[target.'cfg(target_os = "windows")'.dependencies]

0 commit comments

Comments
 (0)