llmrust 0.1.1

Unified Rust interface for 7 LLM providers (OpenAI, Anthropic, DeepSeek, Google Gemini, Ollama, Moonshot, OpenRouter) with HTTP proxy
Documentation
   Compiling llmrust v0.1.0 (D:\halowor\llmrust)
error[E0412]: cannot find type `Mutex` in this scope
    --> src\proxy\mod.rs:2192:23
     |
2192 |         captured: Arc<Mutex<Option<EmbeddingRequest>>>,
     |                       ^^^^^ not found in this scope
     |
     = note: struct `crate::router::tests::Mutex` exists but is inaccessible
help: consider importing one of these structs
     |
1091 +     use std::sync::Mutex;
     |
1091 +     use std::sync::nonpoison::Mutex;
     |
1091 +     use futures::lock::Mutex;
     |
1091 +     use tokio::sync::Mutex;
     |

error[E0412]: cannot find type `EmbeddingResponse` in this scope
    --> src\proxy\mod.rs:2206:65
     |
2206 |         async fn embed(&self, req: &EmbeddingRequest) -> Result<EmbeddingResponse> {
     |                                                                 ^^^^^^^^^^^^^^^^^
     |
    ::: src\types.rs:782:1
     |
 782 | pub struct EmbeddingRequest {
     | --------------------------- similarly named struct `EmbeddingRequest` defined here
     |
help: a struct with a similar name exists
     |
2206 -         async fn embed(&self, req: &EmbeddingRequest) -> Result<EmbeddingResponse> {
2206 +         async fn embed(&self, req: &EmbeddingRequest) -> Result<EmbeddingRequest> {
     |
help: consider importing this struct through its public re-export
     |
1091 +     use crate::EmbeddingResponse;
     |

error[E0422]: cannot find struct, variant or union type `EmbeddingResponse` in this scope
    --> src\proxy\mod.rs:2208:16
     |
2208 |             Ok(EmbeddingResponse {
     |                ^^^^^^^^^^^^^^^^^
     |
    ::: src\types.rs:782:1
     |
 782 | pub struct EmbeddingRequest {
     | --------------------------- similarly named struct `EmbeddingRequest` defined here
     |
help: a struct with a similar name exists
     |
2208 -             Ok(EmbeddingResponse {
2208 +             Ok(EmbeddingRequest {
     |
help: consider importing this struct through its public re-export
     |
1091 +     use crate::EmbeddingResponse;
     |

error[E0422]: cannot find struct, variant or union type `Embedding` in this scope
    --> src\proxy\mod.rs:2214:35
     |
2214 |                     .map(|(i, _)| Embedding {
     |                                   ^^^^^^^^^ not found in this scope
     |
help: consider importing this struct through its public re-export
     |
1091 +     use crate::Embedding;
     |

error[E0433]: failed to resolve: use of undeclared type `Mutex`
    --> src\proxy\mod.rs:2244:32
     |
2244 |             captured: Arc::new(Mutex::new(None)),
     |                                ^^^^^ use of undeclared type `Mutex`
     |
     = note: struct `crate::router::tests::Mutex` exists but is inaccessible
help: consider importing one of these structs
     |
1091 +     use std::sync::Mutex;
     |
1091 +     use std::sync::nonpoison::Mutex;
     |
1091 +     use futures::lock::Mutex;
     |
1091 +     use tokio::sync::Mutex;
     |

error[E0433]: failed to resolve: use of undeclared type `Mutex`
    --> src\proxy\mod.rs:2269:32
     |
2269 |             captured: Arc::new(Mutex::new(None)),
     |                                ^^^^^ use of undeclared type `Mutex`
     |
     = note: struct `crate::router::tests::Mutex` exists but is inaccessible
help: consider importing one of these structs
     |
1091 +     use std::sync::Mutex;
     |
1091 +     use std::sync::nonpoison::Mutex;
     |
1091 +     use futures::lock::Mutex;
     |
1091 +     use tokio::sync::Mutex;
     |

error[E0433]: failed to resolve: use of undeclared type `Mutex`
    --> src\proxy\mod.rs:2289:33
     |
2289 |         let captured = Arc::new(Mutex::new(None));
     |                                 ^^^^^ use of undeclared type `Mutex`
     |
     = note: struct `crate::router::tests::Mutex` exists but is inaccessible
help: consider importing one of these structs
     |
1091 +     use std::sync::Mutex;
     |
1091 +     use std::sync::nonpoison::Mutex;
     |
1091 +     use futures::lock::Mutex;
     |
1091 +     use tokio::sync::Mutex;
     |

error[E0433]: failed to resolve: use of undeclared type `Mutex`
    --> src\proxy\mod.rs:2433:32
     |
2433 |             captured: Arc::new(Mutex::new(None)),
     |                                ^^^^^ use of undeclared type `Mutex`
     |
     = note: struct `crate::router::tests::Mutex` exists but is inaccessible
help: consider importing one of these structs
     |
1091 +     use std::sync::Mutex;
     |
1091 +     use std::sync::nonpoison::Mutex;
     |
1091 +     use futures::lock::Mutex;
     |
1091 +     use tokio::sync::Mutex;
     |

error[E0433]: failed to resolve: use of undeclared type `Mutex`
    --> src\proxy\mod.rs:2489:33
     |
2489 |         let captured = Arc::new(Mutex::new(None));
     |                                 ^^^^^ use of undeclared type `Mutex`
     |
     = note: struct `crate::router::tests::Mutex` exists but is inaccessible
help: consider importing one of these structs
     |
1091 +     use std::sync::Mutex;
     |
1091 +     use std::sync::nonpoison::Mutex;
     |
1091 +     use futures::lock::Mutex;
     |
1091 +     use tokio::sync::Mutex;
     |

Some errors have detailed explanations: E0412, E0422, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `llmrust` (lib test) due to 9 previous errors