Update the crates.io publishing scripts (#580)

* Fix fuzz target compilation.

* Bump version to 0.7.0

* Temporarily disable fuzz tests

Temporarily disable fuzz tests until https://github.com/bytecodealliance/cranelift/issues/1216 is resolved.

* Fix publish-all.sh to not modify the witx crate.

* Remove the "publish = false" attribute from Lightbeam.

* Add a README.md for wasmtime-interface-types.

* Remove the "rust" category.

This fixes the following warning:

warning: the following are not valid category slugs and were ignored: rust. Please see https://crates.io/category_slugs for the list of all category slugs.

* Mark wasmtime-cli as "publish = false".

* Sort the publishing rules in topological order.

Also, publish nightly-only crates with cargo +nightly.
This commit is contained in:
Dan Gohman
2019-11-15 12:17:19 -08:00
committed by GitHub
parent 3d5b55c095
commit c5f998add2
27 changed files with 84 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime"
version = "0.1.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "High-level API to expose the Wasmtime runtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-debug"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "Debug utils for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-environ"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "Standalone environment support for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
@@ -15,6 +15,7 @@ edition = "2018"
cranelift-codegen = { version = "0.50.0", features = ["enable-serde"] }
cranelift-entity = { version = "0.50.0", features = ["enable-serde"] }
cranelift-wasm = { version = "0.50.0", features = ["enable-serde"] }
wasmparser = "0.39.2"
lightbeam = { path = "../lightbeam", optional = true }
indexmap = "1.0.2"
rayon = "1.2"

View File

@@ -10,7 +10,6 @@ use crate::cranelift::RelocSink;
use cranelift_codegen::{ir, isa};
use cranelift_entity::{PrimaryMap, SecondaryMap};
use cranelift_wasm::{DefinedFuncIndex, ModuleTranslationState};
use lightbeam;
/// A compiler that compiles a WebAssembly module with Lightbeam, directly translating the Wasm file.
pub struct Lightbeam;
@@ -53,7 +52,7 @@ impl crate::compilation::Compiler for Lightbeam {
&mut codegen_session,
&mut reloc_sink,
i.as_u32(),
&lightbeam::wasmparser::FunctionBody::new(0, function_body.data),
&wasmparser::FunctionBody::new(0, function_body.data),
)
.expect("Failed to translate function. TODO: Stop this from panicking");
relocations.push(reloc_sink.func_relocs);

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-interface-types"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "Support for wasm interface types with wasmtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -0,0 +1,4 @@
This crate implements a prototype of the wasm [interface types] proposal
for Wasmtime.
[interface types]: https://github.com/WebAssembly/interface-types

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-jit"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "JIT-style execution for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "lightbeam"
version = "0.0.0"
version = "0.7.0"
authors = ["The Lightbeam Project Developers"]
description = "An optimising one-pass streaming compiler for WebAssembly"
license = "Apache-2.0 WITH LLVM-exception"
@@ -9,7 +9,6 @@ readme = "README.md"
categories = ["wasm"]
keywords = ["webassembly", "wasm", "compile", "compiler", "jit"]
edition = "2018"
publish = false
[dependencies]
smallvec = "1.0.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-py"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "Python extension for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,10 +1,10 @@
[package]
name = "wasmtime-rust"
version = "0.2.0"
version = "0.7.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Rust extension for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm", "rust"]
categories = ["wasm"]
keywords = ["webassembly", "wasm"]
repository = "https://github.com/bytecodealliance/wasmtime"
readme = "README.md"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-rust-macro"
version = "0.2.0"
version = "0.7.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Macro support crate for wasmtime-rust"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-obj"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "Native object file output for WebAsssembly code in Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-runtime"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "Runtime library support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "test-programs"
version = "0.0.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
readme = "README.md"
edition = "2018"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-tests"
version = "0.0.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
readme = "README.md"
edition = "2018"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-wasi-c"
version = "0.2.0"
version = "0.7.0"
authors = ["The Cranelift Project Developers"]
description = "WASI API support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-common"
version = "0.5.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-common-cbindgen"
version = "0.5.0"
version = "0.7.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
description = "Interface generator utilities used by wasi-common"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wig"
version = "0.1.0"
version = "0.7.0"
authors = ["Dan Gohman <sunfish@mozilla.com>"]
description = "WebAssembly Interface Generator"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "winx"
version = "0.5.0"
version = "0.7.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
description = "Windows API helper library"
license = "Apache-2.0 WITH LLVM-exception"
@@ -12,7 +12,7 @@ bitflags = "1.0"
cvt = "0.1"
[dependencies.winapi]
version = "0.3"
version = "^0.3"
features = [
"std",
"errhandlingapi",

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-wasi"
version = "0.2.0"
version = "0.7.0"
authors = ["The Cranelift Project Developers"]
description = "WASI API support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-wast"
version = "0.2.0"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
description = "wast testing support for wasmtime"
license = "Apache-2.0 WITH LLVM-exception"