From 5a5f4e4a2f408a0f3c2f6c3783d4732fdd6be8be Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 28 Feb 2018 12:33:37 -0800 Subject: [PATCH] Switch to published packages rather than straight git paths. We can do this now that all our dependencies are available in published form, and this should reduce accidental breakage which APIs change. --- Cargo.toml | 12 ++++++------ fuzz/Cargo.toml | 6 +++--- lib/execute/Cargo.toml | 4 ++-- lib/obj/Cargo.toml | 6 +++--- lib/runtime/Cargo.toml | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 66f4095f6f..7a3a56bee8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,11 +17,11 @@ name = "wasm2obj" path = "src/wasm2obj.rs" [dependencies] -cretonne = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-frontend = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-reader = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-wasm = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-native = { git = "https://github.com/stoklund/cretonne.git" } +cretonne = "0.3.0" +cretonne-frontend = "0.3.0" +cretonne-reader = "0.3.0" +cretonne-wasm = "0.3.0" +cretonne-native = "0.3.0" wasmstandalone_runtime = { path = "lib/runtime" } wasmstandalone_execute = { path = "lib/execute" } wasmstandalone_obj = { path = "lib/obj" } @@ -29,6 +29,6 @@ docopt = "0.8.3" serde = "1.0.27" serde_derive = "1.0.27" tempdir = "*" -faerie = { git = "https://github.com/m4b/faerie" } +faerie = "0.1.0" [workspace] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 7da0a7b943..1df1495714 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -14,13 +14,13 @@ path = "../lib/runtime" path = "../lib/execute" [dependencies.cretonne] -git = "https://github.com/stoklund/cretonne.git" +version = "0.3.0" [dependencies.cretonne-wasm] -git = "https://github.com/stoklund/cretonne.git" +version = "0.3.0" [dependencies.cretonne-native] -git = "https://github.com/stoklund/cretonne.git" +version = "0.3.0" [dependencies.libfuzzer-sys] git = "https://github.com/rust-fuzz/libfuzzer-sys.git" diff --git a/lib/execute/Cargo.toml b/lib/execute/Cargo.toml index 83f18a2dc9..619b0ba602 100644 --- a/lib/execute/Cargo.toml +++ b/lib/execute/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/sunfishcode/wasmstandalone" license = "MIT/Apache-2.0" [dependencies] -cretonne = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-wasm = { git = "https://github.com/stoklund/cretonne.git" } +cretonne = "0.3.0" +cretonne-wasm = "0.3.0" region = "0.1.1" wasmstandalone_runtime = { path = "../runtime" } diff --git a/lib/obj/Cargo.toml b/lib/obj/Cargo.toml index 3bfd515f11..f4b2ced791 100644 --- a/lib/obj/Cargo.toml +++ b/lib/obj/Cargo.toml @@ -5,7 +5,7 @@ authors = ["The Cretonne Project Developers"] publish = false [dependencies] -cretonne = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-wasm = { git = "https://github.com/stoklund/cretonne.git" } +cretonne = "0.3.0" +cretonne-wasm = "0.3.0" wasmstandalone_runtime = { path = "../runtime" } -faerie = { git = "https://github.com/m4b/faerie" } +faerie = "0.1.0" diff --git a/lib/runtime/Cargo.toml b/lib/runtime/Cargo.toml index 15b2c7fef3..d28827400b 100644 --- a/lib/runtime/Cargo.toml +++ b/lib/runtime/Cargo.toml @@ -8,6 +8,6 @@ repository = "https://github.com/sunfishcode/wasmstandalone" license = "Apache-2.0" [dependencies] -cretonne = { git = "https://github.com/stoklund/cretonne.git" } -cretonne-wasm = { git = "https://github.com/stoklund/cretonne.git" } +cretonne = "0.3.0" +cretonne-wasm = "0.3.0" wasmparser = "0.14.1"