Update all dependencies

I ran `cargo upgrade` (cargo-edit crate) to update all dependencies
master
brightly-salty 4 years ago
parent 9f9634ca9f
commit 87b9a7de21
  1. 2521
      Cargo.lock
  2. 63
      Cargo.toml
  3. 6
      src/command/publish/mod.rs
  4. 8
      src/install/krate.rs

2521
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -10,41 +10,40 @@ categories = ["wasm"]
documentation = "https://rustwasm.github.io/wasm-pack/" documentation = "https://rustwasm.github.io/wasm-pack/"
[dependencies] [dependencies]
atty = "0.2.11" atty = "0.2.14"
cargo_metadata = "0.8.0" cargo_metadata = "0.12.1"
console = "0.6.1" console = "0.13.0"
dialoguer = "0.3.0" dialoguer = "0.7.1"
curl = "0.4.13" curl = "0.4.34"
dirs = "1.0.4" env_logger = { version = "0.8.2", default-features = false }
env_logger = { version = "0.5.13", default-features = false } failure = "0.1.8"
failure = "0.1.2" human-panic = "1.0.3"
human-panic = "1.0.1" glob = "0.3.0"
glob = "0.2" log = "0.4.11"
log = "0.4.6" openssl = { version = "0.10.31", optional = true }
openssl = { version = '0.10.11', optional = true } parking_lot = "0.11.1"
parking_lot = "0.6" reqwest = { version = "0.10.10", features = ["blocking"] }
reqwest = "0.9.14" semver = "0.11.0"
semver = "0.9.0" serde = "1.0.118"
serde = "1.0.74" serde_derive = "1.0.118"
serde_derive = "1.0.74" serde_ignored = "0.1.2"
serde_ignored = "0.0.4" serde_json = "1.0.60"
serde_json = "1.0.26" strsim = "0.10.0"
strsim = "0.8.0" siphasher = "0.3.3"
siphasher = "0.2.3" structopt = "0.3.21"
structopt = "0.2" toml = "0.5.7"
toml = "0.4" which = "4.0.2"
which = "2.0.0"
binary-install = "0.0.2" binary-install = "0.0.2"
walkdir = "2" walkdir = "2.3.1"
chrono = "0.4.6" chrono = "0.4.19"
[dev-dependencies] [dev-dependencies]
assert_cmd = "0.11" assert_cmd = "1.0.2"
lazy_static = "1.1.0" lazy_static = "1.4.0"
predicates = "1.0.0" predicates = "1.0.5"
serial_test = "0.2" serial_test = "0.5.1"
serial_test_derive = "0.2" serial_test_derive = "0.5.1"
tempfile = "3" tempfile = "3.1.0"
[features] [features]
vendored-openssl = ['openssl/vendored'] vendored-openssl = ['openssl/vendored']

@ -4,7 +4,7 @@ pub mod access;
use self::access::Access; use self::access::Access;
use command::build::{Build, BuildOptions, Target}; use command::build::{Build, BuildOptions, Target};
use command::utils::{find_pkg_directory, get_crate_path}; use command::utils::{find_pkg_directory, get_crate_path};
use dialoguer::{Confirmation, Input, Select}; use dialoguer::{Confirm, Input, Select};
use failure::Error; use failure::Error;
use log::info; use log::info;
use npm; use npm;
@ -31,8 +31,8 @@ pub fn publish(
None => { None => {
// while `wasm-pack publish`, if the pkg directory cannot be found, // while `wasm-pack publish`, if the pkg directory cannot be found,
// then try to `wasm-pack build` // then try to `wasm-pack build`
if Confirmation::new() if Confirm::new()
.with_text("Your package hasn't been built, build it?") .with_prompt("Your package hasn't been built, build it?")
.interact()? .interact()?
{ {
let out_dir = Input::new() let out_dir = Input::new()

@ -15,10 +15,10 @@ pub struct KrateResponse {
impl Krate { impl Krate {
pub fn new(name: &Tool) -> Result<Krate, failure::Error> { pub fn new(name: &Tool) -> Result<Krate, failure::Error> {
let krate_address = format!("https://crates.io/api/v1/crates/{}", name); let krate_address = format!("https://crates.io/api/v1/crates/{}", name);
let client = reqwest::Client::new(); let client = reqwest::blocking::Client::new();
let mut res = client.get(&krate_address).send()?; let res = client.get(&krate_address).send()?;
let text = res.text()?;
let kr: KrateResponse = serde_json::from_str(&res.text()?)?; let kr: KrateResponse = serde_json::from_str(&text)?;
Ok(kr.krate) Ok(kr.krate)
} }
} }

Loading…
Cancel
Save