[package]
edition = "2024"
name = "cbf-compositor"
version = "0.1.0-alpha.9"
authors = ["Takagi Tasuku <tasuren@icloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scene-based browser surface compositor for CBF applications."
homepage = "https://cbf-hq.github.io/cbf/"
readme = "README.md"
keywords = [
"chromium",
"browser",
]
categories = [
"rendering",
"gui",
]
license = "BSD-3-Clause"
repository = "https://github.com/cbf-hq/cbf"
[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
targets = ["aarch64-apple-darwin"]
[features]
chrome = ["dep:cbf-chrome"]
default = [
"chrome",
"winit",
]
winit = ["dep:winit"]
[lib]
name = "cbf_compositor"
path = "src/lib.rs"
[dependencies.cbf]
version = "0.1.0-alpha.5"
[dependencies.cbf-chrome]
version = "0.1.0-alpha.6"
optional = true
[dependencies.raw-window-handle]
version = "0.6"
[dependencies.thiserror]
version = "2"
[dependencies.winit]
version = "0.30.13"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"NSApplication",
"NSAttributedString",
"NSColor",
"NSColorSpace",
"NSControl",
"NSDragging",
"NSEvent",
"NSImage",
"NSMenu",
"NSMenuItem",
"NSPasteboard",
"NSResponder",
"NSTrackingArea",
"NSTextInputClient",
"NSView",
"NSWindow",
"objc2-core-foundation",
"objc2-quartz-core",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = ["CFCGTypes"]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"NSArray",
"NSAttributedString",
"NSData",
"NSDictionary",
"NSObject",
"NSProcessInfo",
"NSRange",
"NSString",
"NSGeometry",
"objc2-core-foundation",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
version = "0.3.2"
features = [
"CALayer",
"CATransaction",
"objc2-core-foundation",
]
default-features = false