Cargo Features

[dependencies]
objc2-link-presentation = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "block2", "objc2-app-kit", "LPError", "LPFoundation", "LPLinkMetadata", "LPLinkView", "LPMetadataProvider"] }
default = std

The std feature is set by default whenever objc2-link-presentation is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of objc2

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

all = LPError, LPFoundation, LPLinkMetadata, LPLinkView, LPMetadataProvider, block2, objc2-app-kit
block2 all?

Enables block2

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