Update http crate name (#15041)

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-07-23 15:01:05 -07:00 committed by GitHub
parent d36ebc8c74
commit 855048041d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
89 changed files with 184 additions and 180 deletions

View file

@ -30,7 +30,7 @@ gpui.workspace = true
language.workspace = true
log.workspace = true
heed.workspace = true
http.workspace = true
http_client.workspace = true
open_ai.workspace = true
parking_lot.workspace = true
project.workspace = true
@ -60,4 +60,4 @@ tempfile.workspace = true
util = { workspace = true, features = ["test-support"] }
worktree = { workspace = true, features = ["test-support"] }
workspace = { workspace = true, features = ["test-support"] }
http = { workspace = true, features = ["test-support"] }
http_client = { workspace = true, features = ["test-support"] }

View file

@ -1,7 +1,7 @@
use client::Client;
use futures::channel::oneshot;
use gpui::App;
use http::HttpClientWithUrl;
use http_client::HttpClientWithUrl;
use language::language_settings::AllLanguageSettings;
use project::Project;
use semantic_index::{OpenAiEmbeddingModel, OpenAiEmbeddingProvider, SemanticIndex};

View file

@ -1,6 +1,6 @@
use anyhow::{Context as _, Result};
use futures::{future::BoxFuture, AsyncReadExt, FutureExt};
use http::HttpClient;
use http_client::HttpClient;
use serde::{Deserialize, Serialize};
use std::sync::Arc;

View file

@ -1,7 +1,7 @@
use crate::{Embedding, EmbeddingProvider, TextToEmbed};
use anyhow::Result;
use futures::{future::BoxFuture, FutureExt};
use http::HttpClient;
use http_client::HttpClient;
pub use open_ai::OpenAiEmbeddingModel;
use std::sync::Arc;