-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
45 lines (39 loc) · 1.22 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
[package]
name = "clust"
version = "0.9.0"
edition = "2021"
authors = ["Mochineko <t.o.e.4315@gmail.com>"]
rust-version = "1.76"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "An unofficial Rust client for the Anthropic/Claude API."
documentation = "https://docs.rs/clust"
repository = "https://github.com/mochi-neko/clust"
categories = ["api-bindings", "science"]
keywords = ["claude", "rest", "api", "client", "machine-learning"]
[lib]
path = "src/lib.rs"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
macros = ["dep:clust_macros"]
full = ["macros"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes = "1.6.*"
reqwest = { version = "0.12.*", features = ["json", "stream"] }
serde = { version = "1.0.*", features = ["derive"] }
serde-json-fmt = "0.1.*"
serde_json = "1.0.*"
thiserror = "1.0.*"
pin-project = "1.1.*"
futures-core = "0.3.*"
clust_macros = { version = "0.9.0", optional = true }
[dev-dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.7", features = ["derive"] }
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread", "fs"] }
futures-util = "0.3.30"
tokio-stream = "0.1.15"
base64 = "0.22.1"