[package]
edition = "2024"
name = "cbf-chrome"
version = "0.1.0-alpha.1"
authors = ["Takagi Tasuku <tasuren@icloud.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chromium-specific safe API layer for CBF"
readme = "README.md"
keywords = [
"chromium",
"browser",
]
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]
default = ["macos-choice-menu-default"]
macos-choice-menu-default = []
[lib]
name = "cbf_chrome"
path = "src/lib.rs"
[dependencies.async-channel]
version = "2.5"
[dependencies.async-process]
version = "2.5"
[dependencies.cbf]
version = "0.1.0-alpha.1"
[dependencies.cbf-chrome-sys]
version = "146.1.0-alpha.1"
[dependencies.cursor-icon]
version = "1.2"
[dependencies.futures-lite]
version = "2.6"
[dependencies.getrandom]
version = "0.3"
features = ["std"]
[dependencies.oneshot]
version = "0.1"
features = [
"async",
"std",
]
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[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",
"NSCell",
"NSDragging",
"NSDraggingItem",
"NSDraggingSession",
"NSEvent",
"NSGraphicsContext",
"NSImage",
"NSMenu",
"NSMenuItem",
"NSMenuItemBadge",
"NSPasteboard",
"NSResponder",
"NSTextInputClient",
"NSView",
"NSWindow",
"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",
"NSObject",
"NSObjCRuntime",
"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
[target."cfg(unix)".dependencies.libc]
version = "0.2"