# 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 = "mechanise" version = "0.0.2" authors = ["jer, "] publish = true description = """ A, _hopefully_ Rusty wrapper for the Anthropic REST API for Anthropic's `claude` and maybe someday others... Note: This API was in part created with Anthropic's Sonnet model. """ readme = "./README.md" keywords = [ "Anthropic", "claude", "claude3", "Text-Generation", "LLM", ] license = "MIT" repository = "https://github.com/alphastrata/mechanise" [dependencies.bytes] version = "1.5.0" optional = true [dependencies.dotenv] version = "0.15.0" [dependencies.futures-util] version = "0.3.30" optional = true [dependencies.log] version = "0.4.20" optional = true [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.pretty_env_logger] version = "0.5.0" optional = true [dependencies.regex] version = "1.10.3" optional = true [dependencies.reqwest] version = "0.11.24" features = [ "json", "stream", ] [dependencies.serde] version = "1.0.196" features = ["derive"] [dependencies.serde_json] version = "1.0.113" [dependencies.thiserror] version = "1.0.57" [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.url] version = "2.5.0" [features] default = [ "logging", "streaming", ] logging = [ "dep:log", "dep:pretty_env_logger", ] streaming = [ "dep:futures-util", "dep:regex", "dep:once_cell", "dep:bytes", "reqwest/stream", ]