Skip to content

Commit

Permalink
0.2.21
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 14, 2024
1 parent 8305d05 commit 3e67855
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chompbuild"
version = "0.2.20"
version = "0.2.21"
authors = ["Guy Bedford <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion node-chomp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chomp",
"version": "0.2.20",
"version": "0.2.21",
"description": "'JS Make' - parallel task runner CLI for the frontend ecosystem with a JS extension system",
"bin": {
"chomp": "index.js"
Expand Down
4 changes: 2 additions & 2 deletions src/http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

use anyhow::{anyhow, Result};
use dirs::home_dir;
use hyper::{Client, Uri};
use hyper::{client::HttpConnector, Client, Uri};
use hyper_tls::HttpsConnector;
use sha2::{Digest, Sha256};
use std::path::PathBuf;
Expand Down Expand Up @@ -89,7 +89,7 @@ pub async fn fetch_uri_cached(uri_str: &str, uri: Uri) -> Result<String> {

println!("\x1b[34;1mFetch\x1b[0m {}", &uri_str);
let https = HttpsConnector::new();
let client = Client::builder().build::<HttpsConnector<_>, hyper::Body>(https);
let client = Client::builder().build::<HttpsConnector<HttpConnector>, hyper::Body>(https);

let res = client.get(uri).await?;
if res.status() != 200 {
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ fn uri_parse(uri_str: &str) -> Option<Uri> {
#[tokio::main]
async fn main() -> Result<()> {
#[cfg(not(debug_assertions))]
let version = "0.2.20";
let version = "0.2.21";
#[cfg(debug_assertions)]
let version = "0.2.20-debug";
let version = "0.2.21-debug";
let matches = Command::new("Chomp")
.version(version)
.arg(
Expand Down

0 comments on commit 3e67855

Please sign in to comment.