# 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" rust-version = "1.71.1" name = "stabilityai" version = "0.1.0" authors = ["Himanshu Neema"] description = "stability.ai library based on OpenAPI spec" homepage = "https://github.com/64bit/stabilityai" readme = "README.md" keywords = [ "stabilityai", "async", "openapi", "ai", ] categories = [ "api-bindings", "web-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/64bit/stabilityai" [dependencies.async-convert] version = "1.0.0" [dependencies.backoff] version = "0.4.0" features = ["tokio"] [dependencies.base64] version = "0.21.2" [dependencies.derive_builder] version = "0.12.0" [dependencies.futures] version = "0.3.28" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11.20" features = [ "json", "stream", "multipart", ] default-features = false [dependencies.serde] version = "1.0.186" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.105" [dependencies.thiserror] version = "1.0.47" [dependencies.tokio] version = "1.32.0" features = [ "fs", "macros", ] [dependencies.tokio-util] version = "0.7.8" features = [ "codec", "io-util", ] [dependencies.tracing] version = "0.1.37" [dev-dependencies.tokio-test] version = "0.4.3" [features] default = ["rustls"] native-tls = ["reqwest/native-tls"] native-tls-vendored = ["reqwest/native-tls-vendored"] rustls = ["reqwest/rustls-tls-native-roots"]