mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 13:39:08 +00:00
This PR decouples `language_model`'s dependence on Zed-specific implementation details. In particular * `credentials_provider` is split into a generic `credentials_provider` crate that provides a trait, and `zed_credentials_provider` that implements the said trait for Zed-specific providers and has functions that can populate a global state with them * `zed_env_vars` is split into a generic `env_var` crate that provides generic tooling for managing env vars, and `zed_env_vars` that contains Zed-specific statics * `client` is now dependent on `language_model` and not vice versa Release Notes: - N/A
28 lines
596 B
TOML
28 lines
596 B
TOML
[package]
|
|
name = "codestral"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
path = "src/codestral.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
edit_prediction_types.workspace = true
|
|
edit_prediction.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
http_client.workspace = true
|
|
icons.workspace = true
|
|
language.workspace = true
|
|
language_model.workspace = true
|
|
log.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
text.workspace = true
|
|
zed_credentials_provider.workspace = true
|
|
zeta_prompt.workspace = true
|
|
|
|
[dev-dependencies]
|