From f3a6cab47201afa7aedab889a25e82088fcc235c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 20 Jul 2018 16:10:59 -0700 Subject: [PATCH] Make package names consistent with cranelift's. --- Cargo.toml | 8 ++++---- fuzz/Cargo.toml | 28 +++++++++------------------- lib/execute/Cargo.toml | 4 ++-- lib/obj/Cargo.toml | 4 ++-- lib/runtime/Cargo.toml | 2 +- 5 files changed, 18 insertions(+), 28 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2f34c7f692..fa868edd33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "wasmtime_tools" +name = "wasmtime-tools" authors = ["The Cranelift Project Developers"] version = "0.0.0" description = "Command-line interface for the wasmtime crate" @@ -22,9 +22,9 @@ cranelift-frontend = "0.16.1" cranelift-reader = "0.16.1" cranelift-wasm = "0.16.1" cranelift-native = "0.16.1" -wasmtime_runtime = { path = "lib/runtime" } -wasmtime_execute = { path = "lib/execute" } -wasmtime_obj = { path = "lib/obj" } +wasmtime-runtime = { path = "lib/runtime" } +wasmtime-execute = { path = "lib/execute" } +wasmtime-obj = { path = "lib/obj" } docopt = "1.0.0" serde = "1.0.55" serde_derive = "1.0.55" diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index f1d38346c7..99a9a65eec 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -1,29 +1,19 @@ [package] -name = "wasmtime_fuzz" -version = "0.0.1" +name = "wasmtime-fuzz" +version = "0.0.0" authors = ["The Cranelift Project Developers"] publish = false [package.metadata] cargo-fuzz = true -[dependencies.wasmtime_runtime] -path = "../lib/runtime" - -[dependencies.wasmtime_execute] -path = "../lib/execute" - -[dependencies.cranelift-codegen] -version = "0.8.0" - -[dependencies.cranelift-wasm] -version = "0.8.0" - -[dependencies.cranelift-native] -version = "0.8.0" - -[dependencies.libfuzzer-sys] -git = "https://github.com/rust-fuzz/libfuzzer-sys.git" +[dependencies] +wasmtime-runtime = { path = "../lib/runtime" } +wasmtime-execute = { path = "../lib/execute" } +cranelift-codegen = "0.16.1" +cranelift-wasm = "0.16.1" +cranelift-native = "0.16.1" +libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" } # Prevent this from interfering with workspaces [workspace] diff --git a/lib/execute/Cargo.toml b/lib/execute/Cargo.toml index cd9c319289..e7622a5537 100644 --- a/lib/execute/Cargo.toml +++ b/lib/execute/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "wasmtime_execute" +name = "wasmtime-execute" version = "0.0.0" authors = ["The Cranelift Project Developers"] publish = false @@ -11,4 +11,4 @@ license = "Apache-2.0 WITH LLVM-exception" cranelift-codegen = "0.16.1" cranelift-wasm = "0.16.1" region = "0.3.0" -wasmtime_runtime = { path = "../runtime" } +wasmtime-runtime = { path = "../runtime" } diff --git a/lib/obj/Cargo.toml b/lib/obj/Cargo.toml index 7ffe459b17..c140958312 100644 --- a/lib/obj/Cargo.toml +++ b/lib/obj/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "wasmtime_obj" +name = "wasmtime-obj" version = "0.0.0" authors = ["The Cranelift Project Developers"] publish = false @@ -8,5 +8,5 @@ license = "Apache-2.0 WITH LLVM-exception" [dependencies] cranelift-codegen = "0.16.1" cranelift-wasm = "0.16.1" -wasmtime_runtime = { path = "../runtime" } +wasmtime-runtime = { path = "../runtime" } faerie = "0.4.4" diff --git a/lib/runtime/Cargo.toml b/lib/runtime/Cargo.toml index 9bf0109ef6..6c6e4199e4 100644 --- a/lib/runtime/Cargo.toml +++ b/lib/runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "wasmtime_runtime" +name = "wasmtime-runtime" version = "0.0.0" authors = ["The Cranelift Project Developers"] publish = false