Cargo Features

[dependencies]
objc2-natural-language = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "NLContextualEmbedding", "NLEmbedding", "NLGazetteer", "NLLanguage", "NLLanguageRecognizer", "NLModel", "NLTagScheme", "NLTagger", "NLTokenizer"] }
default = std

The std feature is set by default whenever objc2-natural-language 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 optional bitflags, optional block2, objc2, and objc2-foundation

alloc std

Enables alloc of optional block2, objc2, and objc2-foundation

all = NLContextualEmbedding, NLEmbedding, NLGazetteer, NLLanguage, NLLanguageRecognizer, NLModel, NLScript, NLTagScheme, NLTagger, NLTokenizer, bitflags, block2
bitflags NLTagger? NLTokenizer? all?

Enables bitflags, bitflags of objc2-foundation

block2 all?

Enables block2, block2 of objc2-foundation

NLContextualEmbedding all?

Enables NSArray, NSDictionary, NSError, NSRange, NSString and NSValue of objc2-foundation

NLEmbedding all?

Enables NSArray, NSDictionary, NSError, NSIndexSet, NSString, NSURL and NSValue of objc2-foundation

NLGazetteer all?

Enables NSArray, NSData, NSDictionary, NSError, NSString and NSURL of objc2-foundation

NLLanguage all?

Enables NSString of objc2-foundation

NLLanguageRecognizer all?

Enables NSArray, NSDictionary, NSString and NSValue of objc2-foundation

NLModel all?

Enables NSArray, NSDictionary, NSError, NSIndexSet, NSObject, NSString, NSURL and NSValue of objc2-foundation

NLScript NLTagScheme all?

Enables NSString of objc2-foundation

NLTagger all? = bitflags

Enables NSArray, NSDictionary, NSError, NSOrthography, NSRange, NSString and NSValue of objc2-foundation

NLTokenizer all? = bitflags

Enables NSArray, NSRange, NSString and NSValue of objc2-foundation