# 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-core-data" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bindings to the CoreData 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-tvos", "aarch64-apple-watchos", "aarch64-apple-ios-macabi", ] [lib] name = "objc2_core_data" path = "src/lib.rs" [dependencies.bitflags] version = "2.5.0" optional = true default-features = false [dependencies.block2] version = "0.5.1" 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] CoreDataDefines = [] CoreDataErrors = ["objc2-foundation/NSString"] NSAtomicStore = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSSet", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSAtomicStoreCacheNode = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSString", ] NSAttributeDescription = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] NSBatchDeleteRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", ] NSBatchInsertRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] NSBatchUpdateRequest = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSPredicate", "objc2-foundation/NSString", ] NSCompositeAttributeDescription = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", ] NSCoreDataCoreSpotlightDelegate = [ "objc2-foundation/NSError", "objc2-foundation/NSNotification", "objc2-foundation/NSString", ] NSCustomMigrationStage = ["objc2-foundation/NSError"] NSDerivedAttributeDescription = [ "objc2-foundation/NSExpression", "objc2-foundation/NSObject", ] NSEntityDescription = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSEnumerator", "objc2-foundation/NSExpression", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] NSEntityMapping = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSExpression", "objc2-foundation/NSString", ] NSEntityMigrationPolicy = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] NSExpressionDescription = [ "objc2-foundation/NSExpression", "objc2-foundation/NSObject", ] NSFetchIndexDescription = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", "objc2-foundation/NSPredicate", "objc2-foundation/NSString", ] NSFetchIndexElementDescription = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] NSFetchRequest = [ "bitflags", "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSPredicate", "objc2-foundation/NSSortDescriptor", "objc2-foundation/NSString", "objc2-foundation/NSValue", ] NSFetchRequestExpression = [ "objc2-foundation/NSCoder", "objc2-foundation/NSExpression", "objc2-foundation/NSObject", ] NSFetchedPropertyDescription = ["objc2-foundation/NSObject"] NSFetchedResultsController = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSIndexPath", "objc2-foundation/NSOrderedCollectionDifference", "objc2-foundation/NSString", ] NSIncrementalStore = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSIncrementalStoreNode = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSString", ] NSLightweightMigrationStage = [ "objc2-foundation/NSArray", "objc2-foundation/NSString", ] NSManagedObject = [ "bitflags", "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSKeyValueObserving", "objc2-foundation/NSSet", "objc2-foundation/NSString", ] NSManagedObjectContext = [ "objc2-foundation/NSArray", "objc2-foundation/NSDate", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSLock", "objc2-foundation/NSNotification", "objc2-foundation/NSObject", "objc2-foundation/NSSet", "objc2-foundation/NSString", "objc2-foundation/NSUndoManager", ] NSManagedObjectID = [ "objc2-foundation/NSObject", "objc2-foundation/NSURL", ] NSManagedObjectModel = [ "objc2-foundation/NSArray", "objc2-foundation/NSBundle", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSEnumerator", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSSet", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSManagedObjectModelReference = [ "objc2-foundation/NSBundle", "objc2-foundation/NSDictionary", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSMappingModel = [ "objc2-foundation/NSArray", "objc2-foundation/NSBundle", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSMergePolicy = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", ] NSMigrationManager = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSMigrationStage = ["objc2-foundation/NSString"] NSPersistentCloudKitContainer = [ "bitflags", "objc2-foundation/NSError", "objc2-foundation/NSString", ] NSPersistentCloudKitContainerEvent = [ "objc2-foundation/NSDate", "objc2-foundation/NSError", "objc2-foundation/NSNotification", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSUUID", ] NSPersistentCloudKitContainerEventRequest = [ "objc2-foundation/NSDate", "objc2-foundation/NSObject", ] NSPersistentCloudKitContainerOptions = ["objc2-foundation/NSString"] NSPersistentContainer = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSPersistentHistoryChange = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSSet", ] NSPersistentHistoryChangeRequest = [ "objc2-foundation/NSDate", "objc2-foundation/NSObject", ] NSPersistentHistoryToken = ["objc2-foundation/NSObject"] NSPersistentHistoryTransaction = [ "objc2-foundation/NSArray", "objc2-foundation/NSDate", "objc2-foundation/NSNotification", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] NSPersistentStore = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSPersistentStoreCoordinator = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSLock", "objc2-foundation/NSString", "objc2-foundation/NSURL", "objc2-foundation/NSValue", ] NSPersistentStoreDescription = [ "objc2-foundation/NSDate", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] NSPersistentStoreRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", ] NSPersistentStoreResult = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSProgress", ] NSPropertyDescription = [ "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSPredicate", "objc2-foundation/NSString", ] NSPropertyMapping = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSExpression", "objc2-foundation/NSString", ] NSQueryGenerationToken = ["objc2-foundation/NSObject"] NSRelationshipDescription = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", ] NSSaveChangesRequest = [ "objc2-foundation/NSObject", "objc2-foundation/NSSet", ] NSStagedMigrationManager = ["objc2-foundation/NSArray"] all = [ "CoreDataDefines", "CoreDataErrors", "NSAtomicStore", "NSAtomicStoreCacheNode", "NSAttributeDescription", "NSBatchDeleteRequest", "NSBatchInsertRequest", "NSBatchUpdateRequest", "NSCompositeAttributeDescription", "NSCoreDataCoreSpotlightDelegate", "NSCustomMigrationStage", "NSDerivedAttributeDescription", "NSEntityDescription", "NSEntityMapping", "NSEntityMigrationPolicy", "NSExpressionDescription", "NSFetchIndexDescription", "NSFetchIndexElementDescription", "NSFetchRequest", "NSFetchRequestExpression", "NSFetchedPropertyDescription", "NSFetchedResultsController", "NSIncrementalStore", "NSIncrementalStoreNode", "NSLightweightMigrationStage", "NSManagedObject", "NSManagedObjectContext", "NSManagedObjectID", "NSManagedObjectModel", "NSManagedObjectModelReference", "NSMappingModel", "NSMergePolicy", "NSMigrationManager", "NSMigrationStage", "NSPersistentCloudKitContainer", "NSPersistentCloudKitContainerEvent", "NSPersistentCloudKitContainerEventRequest", "NSPersistentCloudKitContainerOptions", "NSPersistentContainer", "NSPersistentHistoryChange", "NSPersistentHistoryChangeRequest", "NSPersistentHistoryToken", "NSPersistentHistoryTransaction", "NSPersistentStore", "NSPersistentStoreCoordinator", "NSPersistentStoreDescription", "NSPersistentStoreRequest", "NSPersistentStoreResult", "NSPropertyDescription", "NSPropertyMapping", "NSQueryGenerationToken", "NSRelationshipDescription", "NSSaveChangesRequest", "NSStagedMigrationManager", "bitflags", "block2", ] alloc = [ "block2?/alloc", "objc2/alloc", "objc2-foundation/alloc", ] apple = [] bitflags = [ "dep:bitflags", "objc2-foundation/bitflags", ] block2 = [ "dep:block2", "objc2-foundation/block2", ] default = ["std"] gnustep-1-7 = [] gnustep-1-8 = [] gnustep-1-9 = [] gnustep-2-0 = [] gnustep-2-1 = [] std = [ "alloc", "bitflags?/std", "block2?/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"