# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "objc2-metric-kit" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bindings to the MetricKit framework" readme = "README.md" keywords = [ "cocoa", "apple", "framework", "macos", "ios", ] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] license = "MIT" repository = "https://github.com/madsmtm/objc2" [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", ] [lib] name = "objc2_metric_kit" path = "src/lib.rs" [dependencies.libc] version = "0.2.80" optional = true default-features = false [dependencies.objc2] version = "0.5.2" default-features = false [dependencies.objc2-foundation] version = "0.2.2" default-features = false [features] 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", ] alloc = [ "objc2/alloc", "objc2-foundation/alloc", ] default = ["std"] libc = [ "dep:libc", "objc2-foundation/libc", ] std = [ "alloc", "libc?/std", "objc2/std", "objc2-foundation/std", ] [lints.clippy] cargo = "warn" ptr_as_ptr = "warn" [lints.rust] elided_lifetimes_in_paths = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" non_ascii_idents = "deny" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "deny"