Files
archived-cef-rs/cef/Cargo.toml
Bill Avery e66a73c60e feat(test): port tests/shared library from CEF
feat: unify bundle utilities under cef build-util feature

feat: reenable sandbox support in cefsimple

feat: add MainMenu.xib on mac

fix: bypass tryToTerminateApplication for Command+Q

fix: enable much smaller linux release builds
2026-01-01 15:34:55 -08:00

83 lines
1.9 KiB
TOML

[package]
name = "cef"
description = "Use cef in Rust"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
[lib]
[[bin]]
name = "bundle-cef-app"
[features]
default = ["sandbox", "build-util"]
dox = ["cef-dll-sys/dox"]
sandbox = ["cef-dll-sys/sandbox"]
# Unified texture import system for CEF hardware acceleration
accelerated_osr = [
"ash",
"libc",
"objc",
"objc2-io-surface",
"metal",
"thiserror",
"tracing",
"wgpu",
"windows",
]
# Build utilities, including the bundle-cef-app tool.
build-util = [
"anyhow",
"cargo_metadata",
"clap",
"plist",
"semver",
"serde",
"serde_json",
"thiserror",
]
# Linux X11 support in bundle-cef-app.
linux-x11 = []
[package.metadata.docs.rs]
features = ["dox"]
[dependencies]
cef-dll-sys.workspace = true
# accelerated_osr
ash = { workspace = true, optional = true }
thiserror = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
wgpu = { workspace = true, optional = true }
# bundle
anyhow = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
cargo_metadata = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys.workspace = true
windows = { workspace = true, optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
libloading.workspace = true
objc2.workspace = true
objc2-io-surface = { workspace = true, optional = true }
objc = { workspace = true, optional = true }
metal = { workspace = true, optional = true }
plist = { workspace = true, optional = true }
semver = { workspace = true, optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
libc = { workspace = true, optional = true }