mediaway 0.1.2

Convenience pipeline layer — composes encoder + container (+ device capture)
# 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.85"
name = "mediaway"
version = "0.1.2"
authors = ["NyxWays"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convenience pipeline layer — composes encoder + container (+ device capture)"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nyxways/mediaway"
resolver = "2"

[features]
default = []

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

[[example]]
name = "opus_check"
path = "examples/opus_check.rs"

[[test]]
name = "screen_mic_av_smoke"
path = "tests/screen_mic_av_smoke.rs"

[[test]]
name = "trim_and_splice_linux"
path = "tests/trim_and_splice_linux.rs"

[[test]]
name = "trim_and_splice_windows"
path = "tests/trim_and_splice_windows.rs"

[dependencies.mediaway-common]
version = "0.1.2"

[dependencies.mediaway-container]
version = "0.1.2"

[dependencies.mediaway-decoder]
version = "0.1.2"

[dependencies.mediaway-device]
version = "0.1.2"

[dependencies.mediaway-encoder]
version = "0.1.2"

[dependencies.mediaway-sw]
version = "0.1.2"
features = ["full"]

[dependencies.smallvec]
version = "1.15"
features = ["const_generics"]
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.wgpu]
version = "26.0"
features = ["std"]
default-features = false

[dev-dependencies.mediaway-test-media]
version = "0.1.2"

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

[target.'cfg(target_os = "linux")'.dependencies]

[target."cfg(windows)".dependencies.wgpu]
version = "26.0"
features = [
    "std",
    "dx12",
    "std",
]
default-features = false

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D12",
]
default-features = false

[target."cfg(windows)".dependencies.windows-hal-interop]
version = "=0.58.0"
features = ["Win32_Graphics_Direct3D12"]
default-features = false
package = "windows"

[target."cfg(windows)".dev-dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D",
    "Win32_Graphics_Direct3D11",
    "Win32_UI_WindowsAndMessaging",
]
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

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

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

[lints.rust]
async_fn_in_trait = "allow"
elided_lifetimes_in_paths = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_must_use = "deny"