From 2cd12213fb256f475c4e1dc87aefd422115665f7 Mon Sep 17 00:00:00 2001 From: Syrus Date: Sun, 13 Sep 2020 22:10:37 +0300 Subject: [PATCH] Standardize Cargo files of all crates --- Cargo.toml | 2 +- lib/api/Cargo.toml | 6 ++++-- lib/c-api/Cargo.toml | 8 ++++---- lib/cache/Cargo.toml | 8 ++++---- lib/cli/Cargo.toml | 11 +++-------- lib/compiler-cranelift/Cargo.toml | 8 ++++---- lib/compiler-llvm/Cargo.toml | 9 +++++---- lib/compiler-singlepass/Cargo.toml | 8 ++++---- lib/compiler/Cargo.toml | 8 ++++---- lib/deprecated/runtime-core/Cargo.toml | 10 +++++----- lib/deprecated/runtime/Cargo.toml | 10 +++++----- lib/emscripten/Cargo.toml | 10 +++++----- lib/engine-jit/Cargo.toml | 6 +++--- lib/engine-native/Cargo.toml | 8 ++++---- lib/engine/Cargo.toml | 6 +++--- lib/object/Cargo.toml | 6 +++--- lib/vm/Cargo.toml | 6 +++--- lib/wasi-experimental-io-devices/Cargo.toml | 9 +++++---- lib/wasi/Cargo.toml | 8 ++++---- lib/wasmer-types/Cargo.toml | 8 ++++---- tests/lib/wast/Cargo.toml | 2 +- tests/wasi-wast/Cargo.toml | 2 +- 22 files changed, 79 insertions(+), 80 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae42783950b..419705055ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "wasmer-workspace" version = "1.0.0-alpha02.0" +description = "Wasmer workspace" authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -description = "Wasmer workspace" license = "MIT" edition = "2018" publish = false diff --git a/lib/api/Cargo.toml b/lib/api/Cargo.toml index 43e69e2788a..77e9ab374b3 100644 --- a/lib/api/Cargo.toml +++ b/lib/api/Cargo.toml @@ -1,10 +1,12 @@ [package] name = "wasmer" version = "1.0.0-alpha02.0" +description = "High-performant WebAssembly runtime" +categories = ["wasm"] +keywords = ["wasm", "webassembly", "runtime", "vm"] authors = ["Wasmer Engineering Team "] -description = "Wasmer runtime API" -license = "MIT OR Apache-2.0 WITH LLVM-exception" repository = "https://github.com/wasmerio/wasmer" +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index 4ead5120e36..23574c4822a 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -2,12 +2,12 @@ name = "wasmer-c-api" version = "1.0.0-alpha02.0" description = "Wasmer C API library" +categories = ["wasm", "api-bindings"] +keywords = ["wasm", "webassembly", "runtime"] +authors = ["Wasmer Engineering Team "] +repository = "https://github.com/wasmerio/wasmer" documentation = "https://wasmerio.github.io/wasmer/c-api/" license = "MIT" -authors = ["The Wasmer Engineering Team "] -repository = "https://github.com/wasmerio/wasmer" -keywords = ["wasm", "webassembly", "runtime"] -categories = ["wasm"] readme = "README.md" edition = "2018" diff --git a/lib/cache/Cargo.toml b/lib/cache/Cargo.toml index e3a665acb5e..8869b34be0a 100644 --- a/lib/cache/Cargo.toml +++ b/lib/cache/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-cache" version = "1.0.0-alpha02.0" -description = "Cache system for WebAssembly" -license = "MIT" +description = "Cache system for Wasmer WebAssembly runtime" +categories = ["wasm", "caching"] +keywords = ["wasm", "webassembly", "cache"] authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -categories = ["wasm"] -keywords = ["webassembly", "wasm", "cache"] +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index 3a0be6c5bf1..8e15f83aff3 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -1,17 +1,12 @@ [package] name = "wasmer-cli" version = "1.0.0-alpha02.0" +description = "Wasmer CLI" +categories = ["wasm", "command-line-interface"] +keywords = ["wasm", "webassembly", "cli"] authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -description = "Wasmer CLI" license = "MIT" -include = [ - "src/**/*", - "Cargo.lock", - "Cargo.toml", - "LICENSE", - "README.md" -] readme = "README.md" edition = "2018" default-run = "wasmer" diff --git a/lib/compiler-cranelift/Cargo.toml b/lib/compiler-cranelift/Cargo.toml index a89616519c6..18848726f20 100644 --- a/lib/compiler-cranelift/Cargo.toml +++ b/lib/compiler-cranelift/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "wasmer-compiler-cranelift" version = "1.0.0-alpha02.0" +description = "Cranelift compiler for Wasmer WebAssembly runtime" +categories = ["wasm"] +keywords = ["wasm", "webassembly", "compiler", "cranelift"] authors = ["Wasmer Engineering Team "] -description = "Standalone environment support for WebAsssembly code in Cranelift" -license = "MIT OR Apache-2.0 WITH LLVM-exception" repository = "https://github.com/wasmerio/wasmer" documentation = "https://docs.rs/wasmer-compiler-cranelift/" -categories = ["wasm"] -keywords = ["webassembly", "wasm", "compiler", "cranelift"] +license = "MIT OR Apache-2.0 WITH LLVM-exception" readme = "README.md" edition = "2018" diff --git a/lib/compiler-llvm/Cargo.toml b/lib/compiler-llvm/Cargo.toml index d369056b384..3dc78c95592 100644 --- a/lib/compiler-llvm/Cargo.toml +++ b/lib/compiler-llvm/Cargo.toml @@ -1,12 +1,13 @@ [package] name = "wasmer-compiler-llvm" version = "1.0.0-alpha02.0" -license = "MIT" +description = "LLVM compiler for Wasmer WebAssembly runtime" +categories = ["wasm"] +keywords = ["wasm", "webassembly", "compiler", "llvm"] authors = ["Wasmer Engineering Team "] -description = "LLVM compiler backend for the Wasmer Wasm runtime" repository = "https://github.com/wasmerio/wasmer" -keywords = ["webassembly", "wasm", "compiler", "llvm"] -categories = ["wasm"] +documentation = "https://docs.rs/wasmer-compiler-llvm/" +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/compiler-singlepass/Cargo.toml b/lib/compiler-singlepass/Cargo.toml index fe50d44a5a8..c07d3cdf2aa 100644 --- a/lib/compiler-singlepass/Cargo.toml +++ b/lib/compiler-singlepass/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "wasmer-compiler-singlepass" version = "1.0.0-alpha02.0" +description = "Singlepass compiler for Wasmer WebAssembly runtime" +categories = ["wasm"] +keywords = ["wasm", "webassembly", "compiler", "singlepass"] authors = ["Wasmer Engineering Team "] -description = "Standalone environment support for WebAsssembly code in Singlepass" -license = "MIT OR Apache-2.0 WITH LLVM-exception" repository = "https://github.com/wasmerio/wasmer" documentation = "https://docs.rs/wasmer-compiler-singlepass/" -categories = ["wasm"] -keywords = ["webassembly", "wasm", "compiler", "singlepass"] +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/compiler/Cargo.toml b/lib/compiler/Cargo.toml index 479174549e8..488429239a7 100644 --- a/lib/compiler/Cargo.toml +++ b/lib/compiler/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-compiler" version = "1.0.0-alpha02.0" -description = "Base compiler abstraction for WebAssembly" -license = "MIT OR Apache-2.0 WITH LLVM-exception" +description = "Base compiler abstraction for Wasmer WebAssembly runtime" +categories = ["wasm", "no-std"] +keywords = ["wasm", "webassembly", "compiler"] authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -categories = ["no-std", "wasm"] -keywords = ["webassembly", "wasm", "compiler"] +license = "MIT OR Apache-2.0 WITH LLVM-exception" readme = "README.md" edition = "2018" diff --git a/lib/deprecated/runtime-core/Cargo.toml b/lib/deprecated/runtime-core/Cargo.toml index bda65ec1afe..5ed847fdb43 100644 --- a/lib/deprecated/runtime-core/Cargo.toml +++ b/lib/deprecated/runtime-core/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-runtime-core" version = "0.18.0" -description = "Wasmer runtime core library" -license = "MIT" -authors = ["The Wasmer Engineering Team "] -repository = "https://github.com/wasmerio/wasmer" -keywords = ["wasm", "webassembly", "runtime"] +description = "Wasmer runtime core library (deprecated in favor of wasmer crate)" categories = ["wasm"] +keywords = ["wasm", "webassembly", "runtime"] +authors = ["Wasmer Engineering Team "] +repository = "https://github.com/wasmerio/wasmer" +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/deprecated/runtime/Cargo.toml b/lib/deprecated/runtime/Cargo.toml index 09e3784084e..0c60003b661 100644 --- a/lib/deprecated/runtime/Cargo.toml +++ b/lib/deprecated/runtime/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-runtime" version = "0.18.0" -description = "Wasmer runtime library" -license = "MIT" -authors = ["The Wasmer Engineering Team "] -repository = "https://github.com/wasmerio/wasmer" -keywords = ["wasm", "webassembly", "runtime", "sandbox", "secure"] +description = "Wasmer runtime library (deprecated in favor of wasmer crate)" categories = ["wasm", "api-bindings"] +keywords = ["wasm", "webassembly", "runtime"] +authors = ["Wasmer Engineering Team "] +repository = "https://github.com/wasmerio/wasmer" +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/emscripten/Cargo.toml b/lib/emscripten/Cargo.toml index e1bbb4df4cb..c06a5f000e7 100644 --- a/lib/emscripten/Cargo.toml +++ b/lib/emscripten/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-emscripten" version = "1.0.0-alpha02.0" -description = "Wasmer runtime emscripten implementation library" -license = "MIT" -authors = ["The Wasmer Engineering Team "] +description = "Emscripten implementation library for Wasmer WebAssembly runtime" +categories = ["wasm", "os"] +keywords = ["wasm", "webassembly", "abi", "emscripten", "posix"] +authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -keywords = ["wasm", "webassembly", "ABI", "emscripten", "posix"] -categories = ["wasm"] +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/engine-jit/Cargo.toml b/lib/engine-jit/Cargo.toml index c5093e780ca..ed783d73eb5 100644 --- a/lib/engine-jit/Cargo.toml +++ b/lib/engine-jit/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-engine-jit" version = "1.0.0-alpha02.0" -authors = ["Wasmer Engineering Team "] description = "Wasmer JIT Engine" -license = "MIT OR Apache-2.0 WITH LLVM-exception " categories = ["wasm"] -keywords = ["webassembly", "wasm"] +keywords = ["wasm", "webassembly", "engine", "jit"] +authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" +license = "MIT OR Apache-2.0 WITH LLVM-exception " readme = "README.md" edition = "2018" diff --git a/lib/engine-native/Cargo.toml b/lib/engine-native/Cargo.toml index cd1803acc0d..10b01d2487b 100644 --- a/lib/engine-native/Cargo.toml +++ b/lib/engine-native/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-engine-native" version = "1.0.0-alpha02.0" -authors = ["Wasmer Engineering Team "] -description = "Wasmer JIT Engine" -license = "MIT OR Apache-2.0 WITH LLVM-exception" +description = "Wasmer Native Engine" categories = ["wasm"] -keywords = ["webassembly", "wasm"] +keywords = ["wasm", "webassembly", "engine", "native"] +authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/engine/Cargo.toml b/lib/engine/Cargo.toml index cc1322e8404..035016614ff 100644 --- a/lib/engine/Cargo.toml +++ b/lib/engine/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-engine" version = "1.0.0-alpha02.0" -authors = ["Wasmer Engineering Team "] description = "Wasmer Engine abstraction" -license = "MIT OR Apache-2.0 WITH LLVM-exception " categories = ["wasm"] -keywords = ["webassembly", "wasm"] +keywords = ["wasm", "webassembly", "engine"] +authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" +license = "MIT OR Apache-2.0 WITH LLVM-exception " readme = "README.md" edition = "2018" diff --git a/lib/object/Cargo.toml b/lib/object/Cargo.toml index 2d5409ca44c..675ae00da53 100644 --- a/lib/object/Cargo.toml +++ b/lib/object/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-object" version = "1.0.0-alpha02.0" -authors = ["Wasmer Engineering Team "] description = "Wasmer Native Object generator" -license = "MIT OR Apache-2.0 WITH LLVM-exception" categories = ["wasm"] -keywords = ["webassembly", "wasm"] +keywords = ["wasm", "webassembly"] +authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/vm/Cargo.toml b/lib/vm/Cargo.toml index b12c3a0d724..98e6d8ae776 100644 --- a/lib/vm/Cargo.toml +++ b/lib/vm/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-vm" version = "1.0.0-alpha02.0" -authors = ["Wasmer Engineering Team "] description = "Runtime library support for Wasmer" -license = "MIT OR Apache-2.0 WITH LLVM-exception" categories = ["wasm"] -keywords = ["webassembly", "wasm"] +keywords = ["wasm", "webassembly"] +authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" +license = "MIT OR Apache-2.0 WITH LLVM-exception" readme = "README.md" edition = "2018" diff --git a/lib/wasi-experimental-io-devices/Cargo.toml b/lib/wasi-experimental-io-devices/Cargo.toml index 8f280d95ef4..021f35cf5af 100644 --- a/lib/wasi-experimental-io-devices/Cargo.toml +++ b/lib/wasi-experimental-io-devices/Cargo.toml @@ -1,13 +1,14 @@ [package] name = "wasmer-wasi-experimental-io-devices" version = "1.0.0-alpha02.0" +description = "An experimental non-standard WASI extension for graphics" +categories = ["wasm"] +keywords = ["wasm", "webassembly", "types"] authors = ["Wasmer Engineering Team "] -edition = "2018" repository = "https://github.com/wasmerio/wasmer" -publish = true -description = "An experimental non-standard WASI extension for graphics" -readme = "README.md" license = "MIT" +readme = "README.md" +edition = "2018" [badges] maintenance = { status = "experimental" } diff --git a/lib/wasi/Cargo.toml b/lib/wasi/Cargo.toml index a2f0649bd57..284b925e5f9 100644 --- a/lib/wasi/Cargo.toml +++ b/lib/wasi/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "wasmer-wasi" version = "1.0.0-alpha02.0" -description = "Wasmer runtime WASI implementation library" -license = "MIT" +description = "WASI implementation library for Wasmer WebAssembly runtime" +categories = ["wasm", "os"] +keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] -categories = ["wasm"] +license = "MIT" readme = "README.md" edition = "2018" diff --git a/lib/wasmer-types/Cargo.toml b/lib/wasmer-types/Cargo.toml index 9628f55cb30..0af97f460f8 100644 --- a/lib/wasmer-types/Cargo.toml +++ b/lib/wasmer-types/Cargo.toml @@ -2,16 +2,16 @@ name = "wasmer-types" version = "1.0.0-alpha02.0" description = "Wasmer Common Types" -license = "MIT OR Apache-2.0 WITH LLVM-exception" +categories = ["wasm", "no-std", "data-structures"] +keywords = ["wasm", "webassembly", "types"] authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" -categories = ["no-std", "wasm"] +license = "MIT OR Apache-2.0 WITH LLVM-exception" readme = "README.md" -keywords = ["webassembly", "wasm", "types"] edition = "2018" [dependencies] -# We use `cranelift-entity` here because it's a light-weight dependency and it contains +# We use `cranelift-entity` here because it's a lightweight dependency and it contains # some useful data structures cranelift-entity = "0.65" serde = { version = "1.0", features = ["derive"], optional = true, default-features = false } diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index 547c5620d95..995896762f6 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Wasmer Engineering Team "] description = "wast testing support for wasmer" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" categories = ["wasm"] -keywords = ["webassembly", "wasm"] +keywords = ["wasm", "webassembly"] repository = "https://github.com/wasmerio/wasmer" readme = "README.md" edition = "2018" diff --git a/tests/wasi-wast/Cargo.toml b/tests/wasi-wast/Cargo.toml index d8e7ffab517..b223a739e6f 100644 --- a/tests/wasi-wast/Cargo.toml +++ b/tests/wasi-wast/Cargo.toml @@ -3,7 +3,7 @@ name = "wasi-test-generator" version = "0.17.0" description = "Tests for our WASI implementation" license = "MIT" -authors = ["The Wasmer Engineering Team "] +authors = ["Wasmer Engineering Team "] edition = "2018" publish = false