-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
78 lines (67 loc) · 1.83 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
[package]
name = "llamaedge"
version = "0.0.7"
authors = ["Liu Xin"]
edition = "2021"
description = "A library for interacting with LlamaEdge API"
license = "Apache-2.0"
repository = "https://github.com/LlamaEdge/llamaedge-rust"
keywords = ["llamaedge", "llm"]
categories = ["api-bindings"]
readme = "README.md"
documentation = "https://docs.rs/llamaedge/"
[dependencies]
endpoints = { version = "0.24.0", git = "https://github.com/LlamaEdge/LlamaEdge.git", branch = "dev" }
futures = { version = "0.3.6", default-features = false, features = ["async-await", "std"] }
reqwest = { version = "0.12.0", features = ["json", "stream", "multipart"] }
serde_json = "1.0.134"
thiserror = "2"
tokio = { version = "1.39.0", features = ["full"] }
url = "2.5.4"
[features]
default = []
full = ["audio", "image", "rag"]
audio = ["endpoints/whisper"]
image = []
rag = ["endpoints/rag"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "chat"
path = "examples/chat.rs"
crate-type = ["bin"]
[[example]]
name = "embeddings"
path = "examples/embeddings.rs"
crate-type = ["bin"]
[[example]]
name = "transcribe_audio"
path = "examples/transcribe_audio.rs"
crate-type = ["bin"]
required-features = ["audio"]
[[example]]
name = "translate_audio"
path = "examples/translate_audio.rs"
crate-type = ["bin"]
required-features = ["audio"]
[[example]]
name = "create_image"
path = "examples/create_image.rs"
crate-type = ["bin"]
required-features = ["image"]
[[example]]
name = "rag_retrieve_context"
path = "examples/rag_retrieve_context.rs"
crate-type = ["bin"]
required-features = ["rag"]
[[example]]
name = "rag_embeddings"
path = "examples/rag_embeddings.rs"
crate-type = ["bin"]
required-features = ["rag"]
[[example]]
name = "rag_chunk_file"
path = "examples/rag_chunk_file.rs"
crate-type = ["bin"]
required-features = ["rag"]