polyvoice 0.2.0

Speaker diarization library for Rust — online and offline, ONNX-powered, ecosystem-agnostic
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 = "polyvoice"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Speaker diarization library for Rust — online and offline, ONNX-powered, ecosystem-agnostic"
readme = "README.md"
keywords = [
    "diarization",
    "speaker",
    "onnx",
    "stt",
    "voice",
]
categories = [
    "multimedia::audio",
    "science",
]
license = "MIT"
repository = "https://github.com/ekhodzitsky/polyvoice"

[features]
default = []
ffi = []
onnx = ["dep:ort"]

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

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

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

[[bench]]
name = "diarization"
path = "benches/diarization.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.ndarray]
version = "0.17"
default-features = false

[dependencies.num-complex]
version = "0.4"

[dependencies.ort]
version = "2.0.0-rc.12"
optional = true

[dependencies.realfft]
version = "3.5"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[profile.release]
lto = true
codegen-units = 1
strip = true