# 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.71" name = "objc2-quartz-core" version = "0.3.2" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bindings to the QuartzCore/CoreAnimation framework" readme = "README.md" keywords = [ "cocoa", "apple", "framework", "macos", "ios", ] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] license = "Zlib OR Apache-2.0 OR MIT" repository = "https://github.com/madsmtm/objc2" [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" rustc-args = [ "--cfg", "docsrs", ] targets = [ "aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-tvos", "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] features = ["objc2-open-gl"] [features] CAAnimation = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSValue", ] CABase = [] CAConstraintLayoutManager = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CADisplayLink = [ "objc2-foundation/NSObjCRuntime", "objc2-foundation/NSRunLoop", "objc2-foundation/NSString", ] CAEAGLLayer = [] CAEDRMetadata = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", ] CAEmitterCell = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CAEmitterLayer = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CAFrameRateRange = [] CAGradientLayer = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSValue", ] CALayer = [ "bitflags", "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSNull", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CAMediaTiming = ["objc2-foundation/NSString"] CAMediaTimingFunction = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CAMetalDisplayLink = [ "objc2-foundation/NSObjCRuntime", "objc2-foundation/NSRunLoop", "objc2-foundation/NSString", ] CAMetalLayer = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSObject", ] CAOpenGLLayer = ["objc2-foundation/NSObject"] CARemoteLayerClient = [] CARemoteLayerServer = [] CARenderer = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSString", ] CAReplicatorLayer = ["objc2-foundation/NSObject"] CAScrollLayer = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CAShapeLayer = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSValue", ] CATextLayer = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CATiledLayer = ["objc2-foundation/NSObject"] CATransaction = ["objc2-foundation/NSString"] CATransform3D = ["objc2-foundation/NSValue"] CATransformLayer = ["objc2-foundation/NSObject"] CAValueFunction = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] CoreAnimation = [] alloc = [] bitflags = ["dep:bitflags"] block2 = ["dep:block2"] default = [ "std", "CAAnimation", "CABase", "CAConstraintLayoutManager", "CADisplayLink", "CAEAGLLayer", "CAEDRMetadata", "CAEmitterCell", "CAEmitterLayer", "CAFrameRateRange", "CAGradientLayer", "CALayer", "CAMediaTiming", "CAMediaTimingFunction", "CAMetalDisplayLink", "CAMetalLayer", "CAOpenGLLayer", "CARemoteLayerClient", "CARemoteLayerServer", "CARenderer", "CAReplicatorLayer", "CAScrollLayer", "CAShapeLayer", "CATextLayer", "CATiledLayer", "CATransaction", "CATransform3D", "CATransformLayer", "CAValueFunction", "CoreAnimation", "bitflags", "block2", "libc", "objc2-core-foundation", "objc2-core-graphics", "objc2-core-video", "objc2-metal", ] gnustep-1-7 = [] gnustep-1-8 = [] gnustep-1-9 = [] gnustep-2-0 = [] gnustep-2-1 = [] libc = ["dep:libc"] objc2-core-foundation = ["dep:objc2-core-foundation"] objc2-core-graphics = ["dep:objc2-core-graphics"] objc2-core-video = ["dep:objc2-core-video"] objc2-metal = ["dep:objc2-metal"] objc2-open-gl = ["dep:objc2-open-gl"] std = ["alloc"] unstable-darwin-objc = [] [lib] name = "objc2_quartz_core" path = "src/lib.rs" [dependencies.bitflags] version = "2.5.0" features = ["std"] optional = true default-features = false [dependencies.block2] version = ">=0.6.1, <0.8.0" features = ["alloc"] optional = true default-features = false [dependencies.libc] version = "0.2.80" optional = true default-features = false [dependencies.objc2] version = ">=0.6.2, <0.8.0" features = ["std"] default-features = false [dependencies.objc2-core-foundation] version = "0.3.2" features = [ "CFCGTypes", "CFDate", "objc2", ] optional = true default-features = false [dependencies.objc2-core-graphics] version = "0.3.2" features = [ "CGColor", "CGColorSpace", "CGContext", "CGPath", "objc2", ] optional = true default-features = false [dependencies.objc2-core-video] version = "0.3.2" features = [ "CVBase", "objc2", ] optional = true default-features = false [dependencies.objc2-foundation] version = "0.3.2" features = ["alloc"] default-features = false [dependencies.objc2-metal] version = "0.3.2" features = [ "MTLAllocation", "MTLDevice", "MTLDrawable", "MTLPixelFormat", "MTLResidencySet", "MTLResource", "MTLTexture", ] optional = true default-features = false [target.'cfg(target_os = "macos")'.dependencies.objc2-open-gl] version = "0.3.2" features = ["CGLTypes"] optional = true default-features = false [lints.clippy] ptr_as_ptr = "warn" redundant_feature_names = "allow" [lints.clippy.cargo] level = "warn" priority = -1 [lints.rust] elided_lifetimes_in_paths = "warn" missing_copy_implementations = "warn" non_ascii_idents = "deny" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "deny"