-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
91 lines (73 loc) · 2.64 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
name = "sortium_ai_client"
version = "0.1.0"
edition = "2021"
description = "Rust client for AI services"
license = "MIT"
authors = ["Sortium CC <https://sortium.com>"]
repository = "https://github.com/Sortium-io/sortium_ai_client"
[lib]
doctest = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.20.0"
image = "0.24.5"
reqwest = { version = "0.11.13", features = ["json"] }
serde = { version = "1.0.151", features = ["derive"] }
serde_json = "1.0.89"
[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
tokio = { version = "1.23.0", features = ["full"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.83"
[[example]]
name = "clap-text"
path = "examples/clap/text2img.rs"
[package.metadata.example.clap-text]
name = "Stable Diffusion text2img Clap Client"
description = "A client for the Stable Diffusion API using the Clap library"
category = "command-line-utilities"
keywords = ["stable", "diffusion", "api", "client", "clap"]
[[example]]
name = "clap-img"
path = "examples/clap/img2img.rs"
[package.metadata.example.clap-img]
name = "Stable Diffusion img2img Clap Client"
description = "A client for the Stable Diffusion API using the Clap library"
category = "command-line-utilities"
keywords = ["stable", "diffusion", "api", "client", "clap"]
[[example]]
name = "clap-completions"
path = "examples/clap/completion.rs"
[package.metadata.example.clap-completions]
name = "OpenAI Completions Clap Client"
description = "A client for the OpenAI API using the Clap library"
category = "command-line-utilities"
keywords = ["openai", "api", "client", "clap"]
[[example]]
name = "clap-embeddings"
path = "examples/clap/embeddings.rs"
[package.metadata.example.clap-embeddings]
name = "OpenAI Embeddings Clap Client"
description = "A client for the OpenAI API using the Clap library"
category = "command-line-utilities"
keywords = ["openai", "api", "client", "clap"]
[[example]]
name = "clap-edits"
path = "examples/clap/edits.rs"
[package.metadata.example.clap-edits]
name = "OpenAI Edits Clap Client"
description = "A client for the OpenAI API using the Clap library"
category = "command-line-utilities"
keywords = ["openai", "api", "client", "clap"]
[[example]]
name = "clap-chat"
path = "examples/clap/chat.rs"
[package.metadata.example.clap-chat]
name = "OpenAI Chat Clap Client"
description = "A client for the OpenAI API using the Clap library"
category = "command-line-utilities"
keywords = ["openai", "api", "client", "clap"]
[dev-dependencies]
clap = { version = "4.0.29", features = ["derive"] }
dotenvy = "0.15.6"
mockito = "0.32.2"