# 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 = "2024"
rust-version = "1.95"
name = "buffr-core"
version = "0.6.0"
authors = ["mxaddict <mxaddict@kryptic.sh>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CEF integration and browser host for buffr."
homepage = "https://buffr.kryptic.sh"
readme = "README.md"
license = "MIT"
repository = "https://github.com/kryptic-sh/buffr-core"

[features]
osr = []

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.buffr-config]
version = "0.3"

[dependencies.buffr-downloads]
version = "0.1"

[dependencies.buffr-history]
version = "0.1"

[dependencies.buffr-modal]
version = "0.1"

[dependencies.buffr-permissions]
version = "0.1"

[dependencies.buffr-view-source]
version = "0.1"

[dependencies.buffr-zoom]
version = "0.1"

[dependencies.cef]
version = "147"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]
default-features = false

[dependencies.hjkl-clipboard]
version = "0.5"

[dependencies.hjkl-config]
version = "0.2"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "webp",
    "gif",
]
default-features = false

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.semver]
version = "1"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.ureq]
version = "3"
features = ["json"]

[dependencies.winit]
version = "0.30"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.toml]
version = "1.1"

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies.wayland-backend]
version = "0.3"
features = ["client_system"]

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies.wayland-client]
version = "0.31"
features = ["system"]

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies.wayland-protocols]
version = "0.32"
features = [
    "client",
    "unstable",
]

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies.wayland-sys]
version = "0.31"
features = ["client"]

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies.zbus]
version = "5"
features = [
    "blocking-api",
    "async-io",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59"
features = ["Win32_System_Power"]
