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.
This commit is contained in:
Dan Gohman
2019-10-23 10:17:22 -07:00
committed by Jakub Konka
parent 056e1d8cc0
commit bd8d550ba3
3 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-common" name = "wasi-common"
version = "0.1.0" version = "0.4.0"
authors = [ authors = [
"Adam C. Foltzer <acfoltzer@fastly.com>", "Adam C. Foltzer <acfoltzer@fastly.com>",
"Frank Denis <github@pureftpd.org>", "Frank Denis <github@pureftpd.org>",
@@ -9,6 +9,10 @@ authors = [
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
description = "WASI implementation in Rust" description = "WASI implementation in Rust"
categories = ["wasm"]
keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasi-common"
readme = "README.md"
[features] [features]
# this feature requires wasm32-wasi target installed, and it enables wasm32 # this feature requires wasm32-wasi target installed, and it enables wasm32
@@ -16,7 +20,7 @@ description = "WASI implementation in Rust"
wasm_tests = [] wasm_tests = []
[dependencies] [dependencies]
wasi-common-cbindgen = { path = "wasi-common-cbindgen" } wasi-common-cbindgen = { path = "wasi-common-cbindgen", version = "0.4.0" }
failure = "0.1" failure = "0.1"
libc = "0.2" libc = "0.2"
rand = "0.7" rand = "0.7"
@@ -28,7 +32,7 @@ filetime = "0.2.7"
nix = "0.15" nix = "0.15"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winx = { path = "winx" } winx = { path = "winx", version = "0.4.0" }
winapi = "0.3" winapi = "0.3"
[dev-dependencies] [dev-dependencies]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-common-cbindgen" name = "wasi-common-cbindgen"
version = "0.1.0" version = "0.4.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"] authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "winx" name = "winx"
version = "0.1.0" version = "0.4.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"] authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"