From bd8d550ba36b3b7f75531323d974586fdfd36fcb Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 23 Oct 2019 10:17:22 -0700 Subject: [PATCH] Improve Cargo.toml files for publishing (#141) * Add versions to the crates. This is needed for publishing on crates.io. * Add a few Cargo.toml attributes to make the crates.io page friendlier. --- Cargo.toml | 10 +++++++--- wasi-common-cbindgen/Cargo.toml | 2 +- winx/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f9fa79ac38..a8241d5e46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasi-common" -version = "0.1.0" +version = "0.4.0" authors = [ "Adam C. Foltzer ", "Frank Denis ", @@ -9,6 +9,10 @@ authors = [ edition = "2018" license = "Apache-2.0 WITH LLVM-exception" description = "WASI implementation in Rust" +categories = ["wasm"] +keywords = ["webassembly", "wasm"] +repository = "https://github.com/CraneStation/wasi-common" +readme = "README.md" [features] # this feature requires wasm32-wasi target installed, and it enables wasm32 @@ -16,7 +20,7 @@ description = "WASI implementation in Rust" wasm_tests = [] [dependencies] -wasi-common-cbindgen = { path = "wasi-common-cbindgen" } +wasi-common-cbindgen = { path = "wasi-common-cbindgen", version = "0.4.0" } failure = "0.1" libc = "0.2" rand = "0.7" @@ -28,7 +32,7 @@ filetime = "0.2.7" nix = "0.15" [target.'cfg(windows)'.dependencies] -winx = { path = "winx" } +winx = { path = "winx", version = "0.4.0" } winapi = "0.3" [dev-dependencies] diff --git a/wasi-common-cbindgen/Cargo.toml b/wasi-common-cbindgen/Cargo.toml index 390abb5f04..a33cdab635 100644 --- a/wasi-common-cbindgen/Cargo.toml +++ b/wasi-common-cbindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasi-common-cbindgen" -version = "0.1.0" +version = "0.4.0" authors = ["Jakub Konka "] edition = "2018" license = "Apache-2.0 WITH LLVM-exception" diff --git a/winx/Cargo.toml b/winx/Cargo.toml index 7b41eb56b9..89f744f0bc 100644 --- a/winx/Cargo.toml +++ b/winx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winx" -version = "0.1.0" +version = "0.4.0" authors = ["Jakub Konka "] edition = "2018" license = "Apache-2.0 WITH LLVM-exception"