cpvc 0.6.0

A simple crate + wrapper for controlling system audio cross platform
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"
name = "cpvc"
version = "0.6.0"
authors = ["xephyris"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple crate + wrapper for controlling system audio cross platform"
readme = "README.md"
keywords = [
    "audio",
    "cross-platform",
    "volume",
]
license = "GPL-3.0"
license-file = "LICENSE"
repository = "https://github.com/xephyris/cpvc"

[features]
debug = []

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

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

[dependencies]

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

[target.'cfg(target_os = "linux")'.dependencies.libpulse-binding]
version = "2.30.1"

[target.'cfg(target_os = "linux")'.dependencies.libpulse-sys]
version = "1.23.0"

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

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-audio]
version = "0.3.1"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-audio-types]
version = "0.3.1"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61.3"
features = [
    "Win32",
    "Win32_Media",
    "Win32_Media_Audio",
    "Win32_Media_Audio_Endpoints",
    "Win32_System",
    "Win32_System_Com",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_Variant",
    "Win32_UI_Shell_PropertiesSystem",
    "Win32_Devices",
    "Win32_Devices_FunctionDiscovery",
]