Skip to content

Commit

Permalink
Merge pull request #123 from fitzgen/little-thangs
Browse files Browse the repository at this point in the history
Little thangs
  • Loading branch information
alexcrichton committed Aug 28, 2019
2 parents 87ca6d3 + 78af80e commit fcc5a9a
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Expand Up @@ -23,19 +23,19 @@ path = "benches/benches.rs"
harness = false

[dependencies]
failure = { version = "0.1.2", default-features = false, features = ['std'] }
failure = { version = "0.1.5", default-features = false, features = ['std'] }
id-arena = "2.2.1"
leb128 = "0.2.3"
log = "0.4"
rayon = { version = "1.0.3", optional = true }
leb128 = "0.2.4"
log = "0.4.8"
rayon = { version = "1.1.0", optional = true }
walrus-macro = { path = './crates/macro', version = '=0.11.0' }
wasmparser = "0.37"
wasmparser = "0.37.1"

[features]
parallel = ['rayon', 'id-arena/rayon']

[dev-dependencies]
env_logger = "0.6"
env_logger = "0.6.2"
criterion = "0.3.0"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions crates/fuzz/Cargo.toml
Expand Up @@ -6,8 +6,8 @@ version = "0.1.0"
publish = false

[dependencies]
rand = { version = "0.7", features = ['small_rng'] }
tempfile = "3.0.5"
rand = { version = "0.7.0", features = ['small_rng'] }
tempfile = "3.1.0"
failure = "0.1.5"
env_logger = "0.6.2"

Expand Down
8 changes: 4 additions & 4 deletions crates/macro/Cargo.toml
Expand Up @@ -13,10 +13,10 @@ Internal macros used by the `walrus` crate, not for public consumption.
"""

[dependencies]
heck = "0.3.0"
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0", features = ['extra-traits'] }
heck = "0.3.1"
proc-macro2 = "1.0.1"
quote = "1.0.2"
syn = { version = "1.0.5", features = ['extra-traits'] }

[lib]
proc_macro = true
2 changes: 1 addition & 1 deletion crates/tests-utils/Cargo.toml
Expand Up @@ -6,5 +6,5 @@ edition = "2018"
publish = false

[dependencies]
tempfile = "3.0"
tempfile = "3.1.0"
failure = "0.1.5"
10 changes: 5 additions & 5 deletions crates/tests-utils/src/lib.rs
Expand Up @@ -3,7 +3,7 @@ use std::ffi::OsStr;
use std::fs;
use std::path::{Path, PathBuf};
use std::process::{Command, Stdio};
use std::sync::{Once, ONCE_INIT};
use std::sync::Once;

pub type Result<T> = std::result::Result<T, failure::Error>;

Expand Down Expand Up @@ -36,7 +36,7 @@ fn require_wat2wasm() {

/// Compile the `.wat` file at the given path into a `.wasm`.
pub fn wat2wasm(path: &Path) -> Result<Vec<u8>> {
static CHECK: Once = ONCE_INIT;
static CHECK: Once = Once::new();
CHECK.call_once(require_wat2wasm);

let file = tempfile::NamedTempFile::new().context("could not create named temp file")?;
Expand Down Expand Up @@ -71,7 +71,7 @@ fn require_wasm2wat() {

/// Disassemble the `.wasm` file at the given path into a `.wat`.
pub fn wasm2wat(path: &Path) -> Result<String> {
static CHECK: Once = ONCE_INIT;
static CHECK: Once = Once::new();
CHECK.call_once(require_wasm2wat);

let mut cmd = Command::new("wasm2wat");
Expand All @@ -96,7 +96,7 @@ fn require_wasm_interp() {

/// Run `wasm-interp` on the given wat file.
pub fn wasm_interp(path: &Path) -> Result<String> {
static CHECK: Once = ONCE_INIT;
static CHECK: Once = Once::new();
CHECK.call_once(require_wasm_interp);

let mut cmd = Command::new("wasm-interp");
Expand Down Expand Up @@ -130,7 +130,7 @@ where
A: IntoIterator<Item = S>,
S: AsRef<OsStr>,
{
static CHECK: Once = ONCE_INIT;
static CHECK: Once = Once::new();
CHECK.call_once(require_wasm_opt);

let tmp = tempfile::NamedTempFile::new().unwrap();
Expand Down
10 changes: 5 additions & 5 deletions crates/tests/Cargo.toml
Expand Up @@ -6,15 +6,15 @@ edition = "2018"
publish = false

[build-dependencies]
walkdir = "2.2.5"
walkdir = "2.2.9"

[dev-dependencies]
failure = "0.1.2"
failure = "0.1.5"
walrus = { path = "../.." }
walrus-tests-utils = { path = "../tests-utils" }
tempfile = "3"
serde_json = { version = "1", features = ['preserve_order'] }
serde = { version = "1", features = ['derive'] }
tempfile = "3.1.0"
serde_json = { version = "1.0.40", features = ['preserve_order'] }
serde = { version = "1.0.99", features = ['derive'] }
env_logger = "0.6.2"

[features]
Expand Down

0 comments on commit fcc5a9a

Please sign in to comment.