# 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 = "ollama-rs" version = "0.2.1" description = "A Rust library for interacting with the Ollama API" readme = "README.md" license-file = "LICENSE.md" repository = "https://github.com/pepperoni21/ollama-rs" [dependencies.async-stream] version = "0.3.5" [dependencies.async-trait] version = "0.1.73" [dependencies.log] version = "0.4" [dependencies.regex] version = "1.9.3" optional = true [dependencies.reqwest] version = "0.12.4" features = ["json"] default-features = false [dependencies.scraper] version = "0.19.0" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.text-splitter] version = "0.13.1" optional = true [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tokio-stream] version = "0.1.15" optional = true [dependencies.url] version = "2" [dev-dependencies.base64] version = "0.22.0" [dev-dependencies.tokio] version = "1" features = ["full"] [features] chat-history = [] default = ["reqwest/default-tls"] function-calling = [ "scraper", "text-splitter", "regex", "chat-history", ] rustls = ["reqwest/rustls-tls"] stream = [ "tokio-stream", "reqwest/stream", "tokio", ]