Skip to content

Commit dc942d6

Browse files
committed
feat: rename crate to uapi-sdk-rust
1 parent d9b9266 commit dc942d6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-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 = "uapi"
2+
name = "uapi-sdk-rust"
33
version = "0.1.1"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ cargo add uapi-sdk-rust
1515
```
1616

1717
```rust
18-
use uapi::Client;
18+
use uapi_sdk_rust::Client;
1919

2020
#[tokio::main]
21-
async fn main() -> Result<(), uapi::Error> {
21+
async fn main() -> Result<(), uapi_sdk_rust::Error> {
2222
let client = Client::new("");
2323
let result = client.social().get_social_qq_userinfo("10001").await?;
2424
println!("{result:?}");

examples/quickstart.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use uapi::{Client, Result};
1+
use uapi_sdk_rust::{Client, Result};
22

33
#[tokio::main]
44
async fn main() -> Result<()> {

0 commit comments

Comments
 (0)