Cargo Features

[dependencies]
objc2-metric-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "libc", "MXAnimationMetric", "MXAppExitMetric", "MXAppLaunchDiagnostic", "MXAppResponsivenessMetric", "MXAppRunTimeMetric", "MXAverage", "MXCPUMetric", "MXCallStackTree", "MXCellularConditionMetric", "MXCrashDiagnostic", "MXDiagnostic", "MXDiagnosticPayload", "MXDiskWriteExceptionDiagnostic", "MXDisplayMetric", "MXError", "MXHangDiagnostic", "MXHistogram", "MXMemoryMetric", "MXMetaData", "MXMetric", "MXMetricManager", "MXMetricPayload", "MXNetworkTransferMetric", "MXSignpost", "MXSignpostMetric", "MXSignpostRecord", "MXSignpost_Private", "MXUnit"] }
default = std

The std feature is set by default whenever objc2-metric-kit 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 libc, objc2, and objc2-foundation

alloc std

Enables alloc of objc2 and objc2-foundation

all = MXAnimationMetric, MXAppExitMetric, MXAppLaunchDiagnostic, MXAppLaunchMetric, MXAppResponsivenessMetric, MXAppRunTimeMetric, MXAverage, MXCPUExceptionDiagnostic, MXCPUMetric, MXCallStackTree, MXCellularConditionMetric, MXCrashDiagnostic, MXCrashDiagnosticObjectiveCExceptio…, MXDiagnostic, MXDiagnosticPayload, MXDiskIOMetric, MXDiskWriteExceptionDiagnostic, MXDisplayMetric, MXError, MXGPUMetric, MXHangDiagnostic, MXHistogram, MXLocationActivityMetric, MXMemoryMetric, MXMetaData, MXMetric, MXMetricManager, MXMetricPayload, MXNetworkTransferMetric, MXSignpost, MXSignpostMetric, MXSignpostRecord, MXSignpost_Private, MXUnit, libc
libc all?

Enables libc, libc of objc2-foundation

MXAnimationMetric all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXAppExitMetric all?

Enables NSObject of objc2-foundation

MXAppLaunchDiagnostic all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXAppLaunchMetric MXAppResponsivenessMetric all?

Enables NSObject and NSUnit of objc2-foundation

MXAppRunTimeMetric all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXAverage all?

Enables NSMeasurement and NSObject of objc2-foundation

MXCPUExceptionDiagnostic MXCPUMetric all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXCallStackTree all?

Enables NSData and NSObject of objc2-foundation

MXCellularConditionMetric all?

Enables NSObject and NSUnit of objc2-foundation

MXCrashDiagnostic all?

Enables NSObject, NSString and NSValue of objc2-foundation

MXCrashDiagnosticObjectiveCExceptionReason MXDiagnostic all?

Enables NSArray, NSData, NSDictionary, NSObject and NSString of objc2-foundation

MXDiagnosticPayload all?

Enables NSArray, NSData, NSDate, NSDictionary and NSObject of objc2-foundation

MXDiskIOMetric MXDiskWriteExceptionDiagnostic all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXDisplayMetric all?

Enables NSObject and NSUnit of objc2-foundation

MXError all?

Enables NSError and NSString of objc2-foundation

MXGPUMetric MXHangDiagnostic all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXHistogram all?

Enables NSEnumerator, NSMeasurement and NSObject of objc2-foundation

MXLocationActivityMetric MXMemoryMetric all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXMetaData all?

Enables NSData, NSDictionary, NSObject and NSString of objc2-foundation

MXMetric all?

Enables NSData, NSDictionary and NSObject of objc2-foundation

MXMetricManager all?

Enables NSArray of objc2-foundation

MXMetricPayload all?

Enables NSArray, NSData, NSDate, NSDictionary, NSObject and NSString of objc2-foundation

MXNetworkTransferMetric all?

Enables NSMeasurement, NSObject and NSUnit of objc2-foundation

MXSignpost all?
MXSignpostMetric all?

Enables NSMeasurement, NSObject, NSString and NSUnit of objc2-foundation

MXSignpostRecord all?

Enables NSData, NSDate, NSDictionary, NSMeasurement, NSObject, NSString and NSUnit of objc2-foundation

MXSignpost_Private all?
MXUnit all?

Enables NSObject, NSString and NSUnit of objc2-foundation