-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
70 lines (57 loc) · 1.51 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "zhipuai-rs"
authors = ["anlang <[email protected]>", "SmileSky <[email protected]>"]
description = "zhipuai 's api of rust"
documentation = "https://docs.rs/zhipuai-rs"
repository = "https://github.com/AnlangA/zhipuai-rs.git"
license = "MIT"
version = "0.1.11"
edition = "2021"
[[example]]
name = "chat"
path = "examples/chat/chat.rs"
[[example]]
name = "chat_stream"
path = "examples/chat/chat_stream.rs"
[[example]]
name = "chat_web_search"
path = "examples/chat/chat_web_search.rs"
[[example]]
name = "chat_function"
path = "examples/chat/chat_function.rs"
[[example]]
name = "chat_image"
path = "examples/chat/chat_image.rs"
[[example]]
name = "chat_codegeex"
path = "examples/chat/chat_codegeex.rs"
[[example]]
name = "translation"
path = "examples/application/translation.rs"
[[example]]
name = "retext"
path = "examples/application/retext.rs"
[[example]]
name = "chat_draw"
path = "examples/chat/chat_draw.rs"
[[example]]
name = "chat_zero_preview"
path = "examples/chat/chat_zero_preview.rs"
[[example]]
name = "cogview"
path = "examples/images/cogview.rs"
[dependencies]
base64 = "0.22.1"
serde = { version = "1.0.217", features = ["derive"] }
tokio = { version = "1.43.0", features = ["full"] }
tokio-tungstenite = { version = "0.26.1",features = ["native-tls"] }
reqwest = { version = "0.12.12", features = ["json","stream"] }
serde_json = "1.0.137"
futures = "0.3.31"
bytes = "1.9.0"
pin-project = "1.1.8"
async-stream = "0.3.6"
regex = "1.11.1"
[dev-dependencies]
rodio = "0.20.1"
anyhow = "1.0.95"