# 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-rest" version = "0.3.3" authors = ["Charles Dong "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Asynchronous Rust bindings of Ollama REST API" readme = "README.md" license = "MIT" repository = "https://github.com/chardoncs/ollama-rest-rs.git" [lib] name = "ollama_rest" path = "src/lib.rs" [[example]] name = "copy-model" path = "examples/copy-model.rs" [[example]] name = "delete-model" path = "examples/delete-model.rs" [[example]] name = "generate" path = "examples/generate.rs" [[example]] name = "generate-embeddings" path = "examples/generate-embeddings.rs" [[example]] name = "generate_streamed" path = "examples/generate_streamed.rs" [[example]] name = "interactive-chat" path = "examples/interactive-chat.rs" [[example]] name = "interactive-chat_streamed" path = "examples/interactive-chat_streamed.rs" [[example]] name = "list-local-models" path = "examples/list-local-models.rs" [[example]] name = "list-local-models-json" path = "examples/list-local-models-json.rs" [[example]] name = "list-running-models" path = "examples/list-running-models.rs" [[example]] name = "list-running-models-json" path = "examples/list-running-models-json.rs" [[example]] name = "pull-model" path = "examples/pull-model.rs" [[example]] name = "pull-model_streamed" path = "examples/pull-model_streamed.rs" [[example]] name = "push-model" path = "examples/push-model.rs" [[example]] name = "streaming-relay" path = "examples/streaming-relay.rs" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.futures] version = "0.3" [dependencies.reqwest] version = "0.12" features = [ "json", "stream", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" features = ["fs"] [dependencies.url] version = "2.5" [dev-dependencies.axum] version = "0.7" features = ["tokio"] [dev-dependencies.once_cell] version = "1.19" [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", "net", "rt-multi-thread", ] [features] default = []