Cargo Features
[dependencies]
objc2-link-presentation = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "objc2-app-kit", "LPError", "LPFoundation", "LPLinkMetadata", "LPLinkView", "LPMetadataProvider"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-link-presentation
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Currently not possible to turn off, put here for forwards compatibility.
Enables std of optional block2, objc2, optional objc2-app-kit, and objc2-foundation
- alloc std
-
Enables alloc of optional block2, objc2, optional objc2-app-kit, and objc2-foundation
- all = LPError, LPFoundation, LPLinkMetadata, LPLinkView, LPMetadataProvider, block2, objc2-app-kit
- block2 all?
-
Enables block2, block2 of objc2-foundation and optional objc2-app-kit
- objc2-app-kit all?
-
Enables objc2-app-kit
- LPError all?
-
Enables NSError and NSString of objc2-foundation
- LPFoundation all?
- LPLinkMetadata all?
-
Enables NSItemProvider, NSObject, NSString and NSURL of objc2-foundation
- LPLinkView all?
-
Enables NSCoder, NSGeometry, NSObject and NSURL of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit
- LPMetadataProvider all?
-
Enables NSDate, NSError, NSURL and NSURLRequest of objc2-foundation