# 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 = "2021" name = "moshi" version = "0.2.4" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "moshi, a real-time voice AI" readme = "README.md" keywords = [ "machine-learning", "audio", ] categories = ["science"] license = "MIT/Apache-2.0" repository = "https://github.com/kyutai-labs/moshi" [lib] name = "moshi" path = "src/lib.rs" [dependencies.candle] version = "0.7.2" package = "candle-core" [dependencies.candle-flash-attn] version = "0.7.2" optional = true [dependencies.candle-nn] version = "0.7.2" [dependencies.candle-transformers] version = "0.7.2" [dependencies.rayon] version = "1.8.1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tracing] version = "0.1.40" [features] cuda = [ "candle/cuda", "candle-nn/cuda", ] default = [] flash-attn = [ "cuda", "dep:candle-flash-attn", ] metal = [ "candle/metal", "candle-nn/metal", ]