scriptrs 0.2.0

Rust transcription with native CoreML Parakeet v2 inference
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 = "scriptrs"
version = "0.2.0"
authors = ["Praveen Perera"]
build = false
exclude = [
    "fixtures/",
    "dev-tools/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust transcription with native CoreML Parakeet v2 inference"
homepage = "https://github.com/avencera/scriptrs"
documentation = "https://docs.rs/scriptrs"
readme = "README.md"
keywords = [
    "asr",
    "transcription",
    "speech",
    "coreml",
    "macos",
]
license = "Apache-2.0"
repository = "https://github.com/avencera/scriptrs"

[features]
default = ["online"]
long-form = []
long-form-vad = ["long-form"]
online = [
    "dep:hf-hub",
    "hf-hub/ureq",
    "hf-hub/native-tls",
]

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

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

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

[dependencies.hf-hub]
version = "0.5"
optional = true
default-features = false

[dependencies.ndarray]
version = "0.17.2"

[dependencies.realfft]
version = "3.5.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.eyre]
version = "0.6.12"

[dev-dependencies.hound]
version = "3.5.1"

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

[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-ml]
version = "0.3"
features = [
    "MLAllComputeDevices",
    "MLCPUComputeDevice",
    "MLComputeDeviceProtocol",
    "MLComputePlan",
    "MLComputePlanDeviceUsage",
    "MLModel",
    "MLMultiArray",
    "MLModelConfiguration",
    "MLDictionaryFeatureProvider",
    "MLFeatureValue",
    "MLFeatureProvider",
    "MLGPUComputeDevice",
    "MLModelStructure",
    "MLModelStructureNeuralNetwork",
    "MLModelStructurePipeline",
    "MLModelStructureProgram",
    "MLModelStructureProgramBlock",
    "MLModelStructureProgramFunction",
    "MLModelStructureProgramOperation",
    "MLModel_MLComputeDevice",
    "MLNeuralEngineComputeDevice",
    "alloc",
    "block2",
]

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSArray",
    "NSDictionary",
    "NSError",
    "NSObject",
    "NSString",
    "NSURL",
    "NSValue",
    "NSSet",
    "NSEnumerator",
    "NSObjCRuntime",
]