Skip to content

Commit

Permalink
Update api-generator dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Aug 18, 2024
1 parent fe436a0 commit b204d51
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
48 changes: 24 additions & 24 deletions api_generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ edition = "2018"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0"
array_tool = "1.0.3"
dialoguer = "0.3.0"
flate2 = "~1"
globset = "~0.4"
Inflector = "0.11.4"
indicatif = "0.12.0"
itertools = "0.10.0"
lazy_static = "1.4.0"
log = "0.4.8"
path-slash = "0.1.3"
anyhow = "1"
array_tool = "1"
dialoguer = "0.11"
flate2 = "1"
globset = "0.4"
indicatif = "0.17"
Inflector = "0.11"
itertools = "0.13"
lazy_static = "1.5"
log = "0.4"
path-slash = "0.2"
quote = "~0.3"
reduce = "0.1.2"
regex = "1.3.1"
reqwest = "~0.9"
semver = "0.9.0"
serde = "~1"
serde_json = "~1"
serde_derive = "~1"
simple_logger = "1.9.0"
reduce = "0.1.4"
regex = "1"
reqwest = { version = "0.12", features = ["blocking"] }
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_derive = "1"
simple_logger = "5"
syn = { version = "~0.11", features = ["full"] }
tar = "~0.4"
toml = "0.5.6"
url = "2.1.1"
void = "1.0.2"
tar = "0.4"
toml = "0.8"
url = "2.5"
void = "1"

[dev-dependencies]
tempfile = "3.1.0"
tempfile = "3.12"
4 changes: 2 additions & 2 deletions api_generator/src/rest_spec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extern crate reqwest;
use self::reqwest::header::{HeaderMap, HeaderValue, USER_AGENT};
use flate2::read::GzDecoder;
use globset::Glob;
use reqwest::Response;
use reqwest::blocking::Response;
use std::{fs::File, io, path::PathBuf};
use tar::{Archive, Entry};

Expand All @@ -35,7 +35,7 @@ pub fn download_specs(branch: &str, download_dir: &PathBuf) -> anyhow::Result<()
USER_AGENT,
HeaderValue::from_str(&format!("elasticsearch-rs/{}", env!("CARGO_PKG_NAME")))?,
);
let client = reqwest::ClientBuilder::new()
let client = reqwest::blocking::ClientBuilder::new()
.default_headers(headers)
.build()
.unwrap();
Expand Down

0 comments on commit b204d51

Please sign in to comment.