build: update dependencies, remove strum, add reqwest multipart
- Bump thiserror 1.x → 2.x - Remove strum (no longer needed after Model enum replacement) - Add reqwest multipart feature for file upload support - Relax version pins to semver ranges - Bump package version to 1.0.0
This commit is contained in:
27
Cargo.toml
27
Cargo.toml
@@ -2,7 +2,7 @@
|
|||||||
name = "mistralai-client"
|
name = "mistralai-client"
|
||||||
description = "Mistral AI API client library for Rust (unofficial)."
|
description = "Mistral AI API client library for Rust (unofficial)."
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
version = "0.14.0"
|
version = "1.0.0"
|
||||||
|
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.76.0"
|
rust-version = "1.76.0"
|
||||||
@@ -15,18 +15,17 @@ readme = "README.md"
|
|||||||
repository = "https://github.com/ivangabriele/mistralai-client-rs"
|
repository = "https://github.com/ivangabriele/mistralai-client-rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-stream = "0.3.5"
|
async-stream = "0.3"
|
||||||
async-trait = "0.1.77"
|
async-trait = "0.1"
|
||||||
env_logger = "0.11.3"
|
env_logger = "0.11"
|
||||||
futures = "0.3.30"
|
futures = "0.3"
|
||||||
log = "0.4.21"
|
log = "0.4"
|
||||||
reqwest = { version = "0.12.0", features = ["json", "blocking", "stream"] }
|
reqwest = { version = "0.12", features = ["json", "blocking", "stream", "multipart"] }
|
||||||
serde = { version = "1.0.197", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1.0.114"
|
serde_json = "1"
|
||||||
strum = "0.26.1"
|
thiserror = "2"
|
||||||
thiserror = "1.0.57"
|
tokio = { version = "1", features = ["full"] }
|
||||||
tokio = { version = "1.36.0", features = ["full"] }
|
tokio-stream = "0.1"
|
||||||
tokio-stream = "0.1.14"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
jrest = "0.2.3"
|
jrest = "0.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user