File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
2- name = " openai_api "
2+ name = " openai_api_rust "
33version = " 0.1.1"
44authors = [" i@guantong.dev" ]
55edition = " 2021"
Original file line number Diff line number Diff line change 44![ GitHub] ( https://img.shields.io/github/license/openai-rs/openai-api?style=flat-square )
55
66A community-maintained library provides a simple and convenient way to interact with the OpenAI API.
7+ No complex async and redundant dependencies.
78
89## API
910
2829Add the following to your Cargo.toml file:
2930
3031``` toml
31- openai_api = " 0.1.1"
32+ openai_api_rust = " 0.1.1"
3233```
3334
3435Then use the crate in your Rust code:
3536
3637``` rust
37- use openai_api :: * ;
38- use openai_api :: edits :: * ;
38+ use openai_api_rust :: * ;
39+ use openai_api_rust :: edits :: * ;
3940
4041fn main () {
4142 let auth = Auth :: from_env (). unwrap ();
You can’t perform that action at this time.
0 commit comments