[package]
name = "cbf-compositor"
version = "0.1.0-alpha.9"
edition.workspace = true
authors.workspace = true
description = "Scene-based browser surface compositor for CBF applications."
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories = ["rendering", "gui"]
license.workspace = true
readme = "README.md"
[features]
default = ["chrome", "winit"]
chrome = ["dep:cbf-chrome"]
winit = ["dep:winit"]
[dependencies]
cbf = { path = "../cbf", version = "0.1.0-alpha.5" }
cbf-chrome = { path = "../cbf-chrome", version = "0.1.0-alpha.6", optional = true }
raw-window-handle.workspace = true
thiserror.workspace = true
winit = { workspace = true, optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = { workspace = true }
objc2-core-foundation = { workspace = true, features = ["CFCGTypes"] }
objc2-quartz-core = { workspace = true, features = [
"CALayer",
"CATransaction",
"objc2-core-foundation",
] }
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
workspace = true
features = [
"NSArray",
"NSAttributedString",
"NSData",
"NSDictionary",
"NSObject",
"NSProcessInfo",
"NSRange",
"NSString",
"NSGeometry",
"objc2-core-foundation",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
workspace = true
features = [
"NSApplication",
"NSAttributedString",
"NSColor",
"NSColorSpace",
"NSControl",
"NSDragging",
"NSEvent",
"NSImage",
"NSMenu",
"NSMenuItem",
"NSPasteboard",
"NSResponder",
"NSTrackingArea",
"NSTextInputClient",
"NSView",
"NSWindow",
"objc2-core-foundation",
"objc2-quartz-core",
]
[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
targets = ["aarch64-apple-darwin"]