Prep work for the 0.1 release

This commit is contained in:
Alex Crichton
2018-03-05 20:24:35 -08:00
parent 98030e0e4a
commit f58c436f77
12 changed files with 54 additions and 7 deletions

View File

@ -1,7 +1,15 @@
[package]
name = "wasm-bindgen-shared"
version = "0.1.0"
version = "0.1.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/wasm-bindgen"
homepage = "https://github.com/alexcrichton/wasm-bindgen"
documentation = "https://docs.rs/wasm-bindgen"
description = """
Shared support between wasm-bindgen and wasm-bindgen cli, an internal
dependency.
"""
[dependencies]
serde_derive = "1"

View File

@ -0,0 +1 @@
../../LICENSE-APACHE

View File

@ -0,0 +1 @@
../../LICENSE-MIT

View File

@ -9,6 +9,8 @@ fn main() {
.map(|s| s.stdout)
.and_then(|s| String::from_utf8(s).ok());
if let Some(rev) = rev {
println!("cargo:rustc-env=WBG_VERSION={}", &rev[..9]);
if rev.len() >= 9 {
println!("cargo:rustc-env=WBG_VERSION={}", &rev[..9]);
}
}
}