# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "cef"
version = "146.4.1+146.0.9"
authors = [
    "Wu Yu Wei <yuweiwu@pm.me>",
    "Bill Avery <wravery@gmail.com>",
    "csmoe <csmoe@msn.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Use cef in Rust"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/tauri-apps/cef-rs"

[package.metadata.docs.rs]
features = ["dox"]

[features]
accelerated_osr = [
    "ash",
    "libc",
    "objc",
    "objc2-io-surface",
    "metal",
    "thiserror",
    "tracing",
    "wgpu",
    "windows",
]
build-util = [
    "anyhow",
    "cargo_metadata",
    "clap",
    "plist",
    "semver",
    "serde",
    "serde_json",
    "thiserror",
]
default = [
    "sandbox",
    "build-util",
]
dox = ["cef-dll-sys/dox"]
linux-x11 = []
sandbox = ["cef-dll-sys/sandbox"]

[lib]
name = "cef"
path = "src/lib.rs"

[[bin]]
name = "bundle-cef-app"
path = "src/bin/bundle-cef-app/main.rs"

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.ash]
version = "0.38"
optional = true

[dependencies.cargo_metadata]
version = "0.23.1"
optional = true

[dependencies.cef-dll-sys]
version = "146.4.1"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.wgpu]
version = "28"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.libloading]
version = "0.9"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.33"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-io-surface]
version = "0.3.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.plist]
version = "1"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.semver]
version = "1"
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = ["Win32_Graphics_Direct3D12"]
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_System_Environment",
    "Win32_System_LibraryLoader",
    "Win32_UI_WindowsAndMessaging",
]
