alpha2-native 0.4.0

Native headless and real-time host boundary for alpha2.
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.88"
name = "alpha2-native"
version = "0.4.0"
build = "build.rs"
include = [
    "/build.rs",
    "/src/**",
    "/README.md",
    "/LICENSE.md",
    "!/src/**/tests.rs",
    "!/src/**/*_tests.rs",
    "!/src/**/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native headless and real-time host boundary for alpha2."
readme = "README.md"
keywords = [
    "ffmpeg",
    "video",
    "decode",
    "encode",
    "cli",
]
categories = [
    "multimedia::video",
    "multimedia::encoding",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/alpha2-sh/alpha2"

[package.metadata.docs.rs]
features = [
    "hwdecode",
    "hwencode",
    "timeline",
]

[features]
cpal-host = ["dep:cpal"]
default = []
hwdecode = ["hwdevice"]
hwdevice = [
    "alpha2-ffmpeg-bridge/hwdevice",
    "dep:alpha2-native-gpu",
    "dep:wgpu",
]
hwencode = [
    "hwdevice",
    "dep:alpha2-gpu",
    "dep:pollster",
]
timeline = ["dep:alpha2-engine"]

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

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

[dependencies.alpha2-audio]
version = "0.4.0"

[dependencies.alpha2-engine]
version = "0.4.0"
optional = true

[dependencies.alpha2-ffmpeg-bridge]
version = "0.4.0"

[dependencies.alpha2-media]
version = "0.4.0"

[dependencies.alpha2-native-gpu]
version = "0.4.0"
features = ["hwdevice"]
optional = true

[dependencies.alpha2-os]
version = "0.4.0"

[dependencies.alpha2-time]
version = "0.4.0"

[dependencies.bytes]
version = "1.12.1"

[dependencies.cpal]
version = "0.17.3"
optional = true

[dependencies.png]
version = "0.18.1"

[dependencies.rsmpeg]
version = "0.18.0"
features = ["link_system_ffmpeg"]

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

[dev-dependencies.alpha2-gpu]
version = "0.4.0"
features = ["serial-acquisition"]

[dev-dependencies.alpha2-model]
version = "0.4.0"

[build-dependencies.alpha2-build-support]
version = "0.4.0"

[target.'cfg(target_os = "macos")'.dev-dependencies.pollster]
version = "1.0.1"

[target.'cfg(target_os = "windows")'.dependencies.alpha2-gpu]
version = "0.4.0"
features = ["wgpu-interop"]
optional = true

[target.'cfg(target_os = "windows")'.dependencies.pollster]
version = "1.0.1"
optional = true

[target.'cfg(target_os = "windows")'.dev-dependencies.pollster]
version = "1.0.1"

[target.'cfg(target_os = "windows")'.dev-dependencies.wgpu]
version = "30.0.1"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"