64bit / async-openai

Rust library for OpenAI
https://docs.rs/async-openai
MIT License
1.17k stars 178 forks source link

Types only crate without reqwests and so on #262

Open Congyuwang opened 2 months ago

Congyuwang commented 2 months ago

Perhaps through a reqwest feature gate which is enabled by default, so that we can use the crate's types only.

Congyuwang commented 2 months ago

A temporary solution here: https://crates.io/crates/async-openai-types.

Some structs related MultiForm are temporarily deleted.

64bit commented 2 months ago

Thanks for the issue, can you provide more context on how a separate crate for types be useful?