[package]
edition = "2024"
rust-version = "1.88.0"
name = "audiofox"
version = "1.0.3"
authors = ["foxberries"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross platform audio capture made easy!"
readme = "README.md"
keywords = [
"capture",
"cross-platform",
"electron",
"node",
"screenshare",
]
categories = ["multimedia::audio"]
license = "GPL-2.0-or-later WITH Classpath-exception-2.0"
repository = "https://codeberg.org/foxberries/audiofox"
[package.metadata.docs.rs]
rustdoc-args = [
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
"--generate-link-to-definition",
]
default-target = "x86_64-pc-windows-msvc"
targets = []
[lib]
name = "audiofox"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.104"
default-features = false
[dependencies.cfg-if]
version = "1.0.5"
[dependencies.log]
version = "0.4.34"
[dependencies.uuid]
version = "1.26.1"
features = ["v4"]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.indexmap]
version = "2.14.2"
[target.'cfg(target_os = "linux")'.dependencies.pw]
version = "0.10.1"
package = "pipewire"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.hashbrown]
version = "0.17.1"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
features = ["disable-encoding-assertions"]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"NSRunningApplication",
"NSWorkspace",
"libc",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-avf-audio]
version = "0.3.2"
features = [
"AVAudioBuffer",
"AVAudioFormat",
"block2",
"objc2-core-audio-types",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-audio]
version = "0.3.2"
features = [
"AudioHardware",
"block2",
"dispatch2",
"objc2",
"objc2-core-audio-types",
"objc2-foundation",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-audio-types]
version = "0.3.2"
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"CFNumber",
"CFString",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"NSEnumerator",
"NSUUID",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.sysinfo]
version = "=0.38.4"
features = ["system"]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.wasapi]
version = "0.24.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
"Win32_Storage",
"Win32_Storage_FileSystem",
]
default-features = false
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
doc_markdown = "allow"
incompatible_msrv = "deny"
similar_names = "allow"
struct_field_names = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1