bevy_webcam 0.4.0

bevy webcam plugin
Documentation
# 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.89.0"
name = "bevy_webcam"
version = "0.4.0"
authors = ["mosure <mitchell@mosure.me>"]
build = false
exclude = [
    ".devcontainer",
    ".github",
    "docs",
    "dist",
    "build",
    "assets",
    "credits",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "bevy_webcam"
description = "bevy webcam plugin"
homepage = "https://github.com/mosure/bevy_webcam"
readme = "README.md"
keywords = [
    "bevy",
    "camera",
]
categories = [
    "computer-vision",
    "graphics",
    "rendering",
    "rendering::data-formats",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mosure/bevy_webcam"

[features]
default = []

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

[[bin]]
name = "bevy_webcam"
path = "src/main.rs"

[dependencies.bevy]
version = "0.18"
features = [
    "bevy_asset",
    "bevy_camera",
    "bevy_core_pipeline",
    "bevy_image",
    "bevy_log",
    "bevy_pbr",
    "bevy_render",
    "bevy_sprite",
    "bevy_text",
    "bevy_ui",
    "bevy_ui_render",
    "bevy_window",
    "bevy_winit",
    "debug",
    "default_font",
    "png",
    "std",
    "tonemapping_luts",
    "webgpu",
    "x11",
    "zstd_rust",
]
default-features = false

[dependencies.flume]
version = "^0.11"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.futures-intrusive]
version = "0.5.0"

[dev-dependencies.pollster]
version = "0.4.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.nokhwa]
version = "0.10"
features = [
    "input-native",
    "camera-sync-impl",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.nokhwa]
version = "0.10"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Document",
    "Element",
    "HtmlElement",
    "Location",
    "Node",
    "Window",
]

[profile.dev]
opt-level = 1

[profile.dev.package."*"]
opt-level = 3

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1

[profile.wasm-release]
opt-level = "z"
lto = "fat"
codegen-units = 1
inherits = "release"