Cargo Features
[dependencies]
objc2-pencil-kit = { version = "0.3.1", default-features = false, features = ["std", "alloc", "block2", "objc2-app-kit", "objc2-core-foundation", "PKContentVersion", "PKDrawing", "PKFloatRange", "PKInk", "PKInkType", "PKInkingTool", "PKLassoTool", "PKStroke", "PKStrokePath", "PKStrokePoint", "PKTool"] }
- default = PKContentVersion, PKDrawing, PKEraserTool, PKFloatRange, PKInk, PKInkType, PKInkingTool, PKLassoTool, PKStroke, PKStrokePath, PKStrokePoint, PKTool, block2, objc2-app-kit, objc2-core-foundation, std
-
These default features are set whenever
objc2-pencil-kit
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- block2 default
-
Enables block2
- objc2-app-kit default
-
Enables objc2-app-kit
- objc2-core-foundation default
-
Enables objc2-core-foundation
Affects
PKDrawing::PKAppleDrawingTypeIdentifier
… - PKContentVersion default
- PKDrawing default
-
Enables NSArray, NSData, NSError and NSObject of objc2-foundation
- PKEraserTool PKFloatRange default
-
Enables NSObject of objc2-foundation
- PKInk default
-
Enables NSObject and NSString of objc2-foundation
- PKInkType default
-
Enables NSString of objc2-foundation
- PKInkingTool default
-
Enables NSObject and NSString of objc2-foundation
- PKLassoTool default
-
Enables NSObject of objc2-foundation
- PKStroke default
-
Enables NSArray and NSObject of objc2-foundation
- PKStrokePath default
-
Enables NSArray, NSDate and NSObject of objc2-foundation
- PKStrokePoint default
-
Enables NSDate and NSObject of objc2-foundation
- PKTool default
-
Enables NSObject of objc2-foundation