Skip to content

Commit 13dd8a8

Browse files
author
Guantong
committed
Update crate name
1 parent dd06976 commit 13dd8a8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "openai_api"
2+
name = "openai_api_rust"
33
version = "0.1.1"
44
authors = ["i@guantong.dev"]
55
edition = "2021"

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
![GitHub](https://img.shields.io/github/license/openai-rs/openai-api?style=flat-square)
55

66
A 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

@@ -28,14 +29,14 @@ ___
2829
Add 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

3435
Then 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

4041
fn main() {
4142
let auth = Auth::from_env().unwrap();

0 commit comments

Comments
 (0)