# This file has been automatically generated by `objc2`'s `header-translator`. # DO NOT EDIT [package] name = "objc2-metric-kit" version = "0.2.2" # Remember to update html_root_url in lib.rs description = "Bindings to the MetricKit framework" edition = "2021" rust-version = "1.60" keywords = ["cocoa", "apple", "framework", "macos", "ios"] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] repository = "https://github.com/madsmtm/objc2" license = "MIT" [lints] workspace = true [dependencies] libc = { version = "0.2.80", default-features = false, optional = true } objc2 = { path = "../../crates/objc2", version = "0.5.2", default-features = false } objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-features = false } [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" features = ["all"] targets = [ "aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-macabi", ] [features] default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. std = ["alloc", "libc?/std", "objc2/std", "objc2-foundation/std"] alloc = ["objc2/alloc", "objc2-foundation/alloc"] libc = ["dep:libc", "objc2-foundation/libc"] MXAnimationMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXAppExitMetric = ["objc2-foundation/NSObject"] MXAppLaunchDiagnostic = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXAppLaunchMetric = [ "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXAppResponsivenessMetric = [ "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXAppRunTimeMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXAverage = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", ] MXCPUExceptionDiagnostic = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXCPUMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXCallStackTree = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", ] MXCellularConditionMetric = [ "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXCrashDiagnostic = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSValue", ] MXCrashDiagnosticObjectiveCExceptionReason = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] MXDiagnostic = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] MXDiagnosticPayload = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDate", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", ] MXDiskIOMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXDiskWriteExceptionDiagnostic = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXDisplayMetric = [ "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXError = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] MXGPUMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXHangDiagnostic = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXHistogram = [ "objc2-foundation/NSEnumerator", "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", ] MXLocationActivityMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXMemoryMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXMetaData = [ "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] MXMetric = [ "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", ] MXMetricManager = ["objc2-foundation/NSArray"] MXMetricPayload = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDate", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] MXNetworkTransferMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSUnit", ] MXSignpost = [] MXSignpostMetric = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSUnit", ] MXSignpostRecord = [ "objc2-foundation/NSData", "objc2-foundation/NSDate", "objc2-foundation/NSDictionary", "objc2-foundation/NSMeasurement", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSUnit", ] MXSignpost_Private = [] MXUnit = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSUnit", ] all = [ "MXAnimationMetric", "MXAppExitMetric", "MXAppLaunchDiagnostic", "MXAppLaunchMetric", "MXAppResponsivenessMetric", "MXAppRunTimeMetric", "MXAverage", "MXCPUExceptionDiagnostic", "MXCPUMetric", "MXCallStackTree", "MXCellularConditionMetric", "MXCrashDiagnostic", "MXCrashDiagnosticObjectiveCExceptionReason", "MXDiagnostic", "MXDiagnosticPayload", "MXDiskIOMetric", "MXDiskWriteExceptionDiagnostic", "MXDisplayMetric", "MXError", "MXGPUMetric", "MXHangDiagnostic", "MXHistogram", "MXLocationActivityMetric", "MXMemoryMetric", "MXMetaData", "MXMetric", "MXMetricManager", "MXMetricPayload", "MXNetworkTransferMetric", "MXSignpost", "MXSignpostMetric", "MXSignpostRecord", "MXSignpost_Private", "MXUnit", "libc", ]