TODO: - [x] Review code - [x] Decide whether to keep ignored API tests Release Notes: - Fixed a bug where cancelling a thread mid-thought would cause further anthropic requests to fail - Fixed a bug where the model configured on a thread would not be persisted alongside that thread
35 lines
705 B
TOML
35 lines
705 B
TOML
[package]
|
|
name = "anthropic"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[features]
|
|
default = []
|
|
schemars = ["dep:schemars"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/anthropic.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
chrono.workspace = true
|
|
futures.workspace = true
|
|
http_client.workspace = true
|
|
schemars = { workspace = true, optional = true }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
strum.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
reqwest_client.workspace = true
|
|
gpui_tokio.workspace = true
|
|
gpui.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|