# 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 = "llm_stream" version = "0.3.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A very simple Rust library to simplify streaming api interaction with LLMs, free from complex async operations and redundant dependencies." readme = "README.md" keywords = [ "stream", "api", "llm", "api-bindings", ] license = "MIT" repository = "https://github.com/cloudbridgeuy/llm-stream" [lib] name = "llm_stream" path = "src/lib.rs" [[example]] name = "stream_anthropic" path = "examples/stream_anthropic.rs" [[example]] name = "stream_copilot" path = "examples/stream_copilot.rs" [[example]] name = "stream_google" path = "examples/stream_google.rs" [[example]] name = "stream_mistral" path = "examples/stream_mistral.rs" [[example]] name = "stream_mistral_fim" path = "examples/stream_mistral_fim.rs" [[example]] name = "stream_openai" path = "examples/stream_openai.rs" [dependencies.env_logger] version = "0.11.5" [dependencies.eventsource-client] version = "0.13.0" [dependencies.futures] version = "0.3.30" [dependencies.log] version = "0.4.22" [dependencies.serde] version = "1.0.209" features = ["derive"] [dependencies.serde_json] version = "1.0.127" [dependencies.thiserror] version = "1.0.63" [dependencies.ureq] version = "2.10.1" features = ["json"] [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt-multi-thread", ]