-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (35 loc) · 1.29 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
# https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "glide-rs"
version = "0.1.0"
rust-version = "1.71.0"
edition = "2021"
license = "Apache-2.0"
readme = "./README.md"
authors = ["EinStack <[email protected]>"]
repository = "https://github.com/EinStack/glide-rs"
homepage = "https://www.einstack.ai/"
documentation = "https://docs.rs/glide-rs"
categories = ["web-programming"]
keywords = ["ai", "llm", "gateway"]
description = "A minimal EinStack client."
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
streaming = ["dep:reqwest-websocket", "dep:futures"]
[dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", features = [] }
thiserror = { version = "1.0" }
reqwest-websocket = { version = "0.4", optional = true, default-features = false, features = ["json"] }
futures = { version = "0.3", optional = true, default-features = false, features = [] }
[dev-dependencies]
tokio = { version = "1.38", features = ["macros", "rt-multi-thread"] }
[[example]]
name = "hello"
path = "examples/hello.rs"