micro-wakeword 0.1.3

Rust detection and microphone listening for microWakeWord-compatible TFLite models
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.85"
name = "micro-wakeword"
version = "0.1.3"
build = "build.rs"
include = [
    "/build.rs",
    "/src/**",
    "/native/frontend_bridge.cc",
    "/native/vendor/**",
    "/runtime/**",
    "/examples/**",
    "/tests/**",
    "/LICENSE",
    "/LICENSES/**",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust detection and microphone listening for microWakeWord-compatible TFLite models"
readme = "README.md"
keywords = [
    "wake-word",
    "audio",
    "tflite",
    "speech",
    "microphone",
]
categories = [
    "multimedia::audio",
    "science",
]
license = "MIT"
repository = "https://github.com/akash-kamat/microwakeword-rs"

[features]
default = ["listener"]
listener = [
    "dep:cpal",
    "dep:rubato",
]

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

[[bin]]
name = "micro-wakeword"
path = "src/bin/micro-wakeword.rs"
required-features = ["listener"]

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

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

[[example]]
name = "detector_access"
path = "examples/detector_access.rs"
required-features = ["listener"]

[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
required-features = ["listener"]

[[example]]
name = "listen"
path = "examples/listen.rs"
required-features = ["listener"]

[[example]]
name = "model_only"
path = "examples/model_only.rs"
required-features = ["listener"]

[[example]]
name = "reconnect"
path = "examples/reconnect.rs"
required-features = ["listener"]

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

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

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

[dependencies.rubato]
version = "3.0"
features = ["fft_resampler"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tflite-c-rs]
version = "0.0.1"

[dependencies.thiserror]
version = "2.0"

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

[build-dependencies.cc]
version = "1.2"