diff --git a/crox/Cargo.toml b/crox/Cargo.toml index ae853c3..b4243c0 100644 --- a/crox/Cargo.toml +++ b/crox/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Wesley Wiser "] edition = "2018" [dependencies] -measureme = "0.2" +measureme = { "path" = "../measureme" } serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" structopt = "0.2" diff --git a/crox/src/main.rs b/crox/src/main.rs index 7aa70bd..6946fbf 100644 --- a/crox/src/main.rs +++ b/crox/src/main.rs @@ -47,7 +47,7 @@ struct Opt { fn main() -> Result<(), Box> { let opt = Opt::from_args(); - let data = ProfilingData::new(&opt.file_prefix); + let data = ProfilingData::new(&opt.file_prefix)?; let chrome_file = BufWriter::new(fs::File::create("chrome_profiler.json")?); diff --git a/measureme/Cargo.toml b/measureme/Cargo.toml index c1c27be..e67e59c 100644 --- a/measureme/Cargo.toml +++ b/measureme/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "measureme" -version = "0.2.1" +version = "0.3.0" authors = ["Wesley Wiser ", "Michael Woerister "] edition = "2018" description = "Support crate for rustc's self-profiling feature"