Cargo Features
[dependencies]
objc2-data-detection = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "DDMatch", "DataDetectionBase"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-data-detection
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.
- alloc std
- unstable-docsrs
-
For better documentation on docs.rs
- all = DDMatch, DataDetectionBase
- DDMatch all?
-
Enables NSDate, NSString, NSTimeZone and NSURL of objc2-foundation
- DataDetectionBase all?