[dependencies.bitflags]
default-features = false
features = ["std"]
optional = true
version = "2.5.0"
[dependencies.block2]
default-features = false
features = ["alloc"]
optional = true
version = "0.6.0"
[dependencies.objc2]
default-features = false
features = ["std"]
optional = true
version = "0.6.0"
[dependencies.objc2-core-foundation]
default-features = false
version = "0.3.0"
[dependencies.objc2-core-graphics]
default-features = false
features = ["CGImage"]
optional = true
version = "0.3.0"
[dependencies.objc2-core-media]
default-features = false
features = ["CMBase", "CMFormatDescription", "CMSampleBuffer", "CMTaggedBufferGroup", "CMTime", "CMTimeRange"]
optional = true
version = "0.3.0"
[dependencies.objc2-core-video]
default-features = false
features = ["CVBuffer", "CVImageBuffer", "CVPixelBuffer", "CVPixelBufferPool"]
optional = true
version = "0.3.0"
[features]
VTBase = []
VTCompressionProperties = ["objc2-core-foundation/CFBase"]
VTCompressionSession = ["bitflags", "objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
VTDecompressionProperties = ["objc2-core-foundation/CFBase"]
VTDecompressionSession = ["objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
VTErrors = ["bitflags"]
VTFrameSilo = ["objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary", "objc2-core-foundation/CFURL"]
VTHDRPerFrameMetadataGenerationSession = ["objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
VTMultiPassStorage = ["objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary", "objc2-core-foundation/CFURL"]
VTPixelRotationProperties = ["objc2-core-foundation/CFBase"]
VTPixelRotationSession = ["objc2-core-foundation/CFBase"]
VTPixelTransferProperties = ["objc2-core-foundation/CFBase"]
VTPixelTransferSession = ["objc2-core-foundation/CFBase"]
VTProfessionalVideoWorkflow = []
VTRAWProcessingProperties = ["objc2-core-foundation/CFBase"]
VTRAWProcessingSession = ["objc2-core-foundation/CFArray", "objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
VTSession = ["objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
VTUtilities = ["objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
VTVideoEncoderList = ["objc2-core-foundation/CFArray", "objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary"]
alloc = []
bitflags = ["dep:bitflags"]
block2 = ["dep:block2"]
default = ["std", "VTBase", "VTCompressionProperties", "VTCompressionSession", "VTDecompressionProperties", "VTDecompressionSession", "VTErrors", "VTFrameSilo", "VTHDRPerFrameMetadataGenerationSession", "VTMultiPassStorage", "VTPixelRotationProperties", "VTPixelRotationSession", "VTPixelTransferProperties", "VTPixelTransferSession", "VTProfessionalVideoWorkflow", "VTRAWProcessingProperties", "VTRAWProcessingSession", "VTSession", "VTUtilities", "VTVideoEncoderList", "bitflags", "block2", "objc2", "objc2-core-graphics", "objc2-core-media", "objc2-core-video"]
objc2 = ["dep:objc2", "objc2-core-foundation/objc2", "objc2-core-graphics?/objc2", "objc2-core-media?/objc2", "objc2-core-video?/objc2"]
objc2-core-graphics = ["dep:objc2-core-graphics"]
objc2-core-media = ["dep:objc2-core-media"]
objc2-core-video = ["dep:objc2-core-video"]
std = ["alloc"]
[lib]
name = "objc2_video_toolbox"
path = "src/lib.rs"
[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"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis"]
description = "Bindings to the VideoToolbox framework"
edition = "2021"
keywords = ["cocoa", "apple", "framework", "macos", "ios"]
license = "Zlib OR Apache-2.0 OR MIT"
name = "objc2-video-toolbox"
readme = "README.md"
repository = "https://github.com/madsmtm/objc2"
rust-version = "1.71"
version = "0.3.0"
[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"]