async-openai-wasm 0.27.1

Rust library for OpenAI on WASM
Documentation
[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.9"

[dependencies.derive_builder]
version = "0.20"

[dependencies.eventsource-stream]
version = "0.2"

[dependencies.futures]
version = "0.3"

[dependencies.pin-project]
version = "1.1"

[dependencies.reqwest]
default-features = false
features = ["json", "stream", "multipart"]
version = "0.12"

[dependencies.reqwest-eventsource]
version = "0.6"

[dependencies.secrecy]
features = ["serde"]
version = "0.10"

[dependencies.serde]
features = ["derive", "rc"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
features = ["fs", "macros"]
version = "1.43"

[dev-dependencies.tokio-test]
version = "0.4"

[features]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
realtime = []
rustls = ["reqwest/rustls-tls-native-roots"]
rustls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]

[lib]
name = "async_openai_wasm"
path = "src/lib.rs"

[package]
authors = ["Contributors of the async-openai crate", "ifsheldon <async_openai_wasm@reify.ing>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "web-programming", "asynchronous"]
description = "Rust library for OpenAI on WASM"
edition = "2021"
homepage = "https://github.com/ifsheldon/async-openai-wasm"
keywords = ["openai", "async", "openapi", "ai", "wasm"]
license = "MIT"
name = "async-openai-wasm"
readme = "README.md"
repository = "https://github.com/ifsheldon/async-openai-wasm"
rust-version = "1.75"
version = "0.27.1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["js"]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.rand]
version = "0.8"

[[test]]
name = "completion"
path = "tests/completion.rs"

[[test]]
name = "embeddings"
path = "tests/embeddings.rs"

[[test]]
name = "ser_de"
path = "tests/ser_de.rs"

[[test]]
name = "whisper"
path = "tests/whisper.rs"