mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-27 03:55:20 +03:00
Prep work for the 0.1 release
This commit is contained in:
parent
98030e0e4a
commit
f58c436f77
11
Cargo.toml
11
Cargo.toml
@ -2,13 +2,22 @@
|
|||||||
name = "wasm-bindgen"
|
name = "wasm-bindgen"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||||
|
license = "MIT/Apache-2.0"
|
||||||
|
readme = "README.md"
|
||||||
|
categories = ["wasm"]
|
||||||
|
repository = "https://github.com/alexcrichton/wasm-bindgen"
|
||||||
|
homepage = "https://github.com/alexcrichton/wasm-bindgen"
|
||||||
|
documentation = "https://docs.rs/wasm-bindgen"
|
||||||
|
description = """
|
||||||
|
Easy support for interacting between JS and Rust.
|
||||||
|
"""
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
test = false
|
test = false
|
||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-bindgen-macro = { path = "crates/wasm-bindgen-macro" }
|
wasm-bindgen-macro = { path = "crates/wasm-bindgen-macro", version = "0.1" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-support = { path = "crates/test-support" }
|
test-support = { path = "crates/test-support" }
|
||||||
|
@ -2,10 +2,17 @@
|
|||||||
name = "wasm-bindgen-cli-support"
|
name = "wasm-bindgen-cli-support"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
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 for the wasm-bindgen-cli package, an internal dependency
|
||||||
|
"""
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.9"
|
base64 = "0.9"
|
||||||
parity-wasm = "0.27"
|
parity-wasm = "0.27"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
wasm-bindgen-shared = { path = "../wasm-bindgen-shared" }
|
wasm-bindgen-shared = { path = "../wasm-bindgen-shared", version = '0.1' }
|
||||||
wasm-gc-api = "0.1"
|
wasm-gc-api = "0.1"
|
||||||
|
1
crates/wasm-bindgen-cli-support/LICENSE-APACHE
Symbolic link
1
crates/wasm-bindgen-cli-support/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../LICENSE-APACHE
|
1
crates/wasm-bindgen-cli-support/LICENSE-MIT
Symbolic link
1
crates/wasm-bindgen-cli-support/LICENSE-MIT
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../LICENSE-MIT
|
@ -2,14 +2,22 @@
|
|||||||
name = "wasm-bindgen-cli"
|
name = "wasm-bindgen-cli"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
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 = """
|
||||||
|
Command line interface of the `#[wasm_bindgen]` attribute and project. For more
|
||||||
|
information see https://github.com/alexcrichton/wasm-bindgen.
|
||||||
|
"""
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
docopt = "0.8"
|
docopt = "0.8"
|
||||||
parity-wasm = "0.27"
|
parity-wasm = "0.27"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
wasm-bindgen-cli-support = { path = "../wasm-bindgen-cli-support" }
|
wasm-bindgen-cli-support = { path = "../wasm-bindgen-cli-support", version = "0.1" }
|
||||||
wasm-bindgen-shared = { path = "../wasm-bindgen-shared" }
|
wasm-bindgen-shared = { path = "../wasm-bindgen-shared", version = "0.1" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "wasm-bindgen"
|
name = "wasm-bindgen"
|
||||||
|
@ -2,6 +2,13 @@
|
|||||||
name = "wasm-bindgen-macro"
|
name = "wasm-bindgen-macro"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
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 = """
|
||||||
|
Definition of the `#[wasm_bindgen]` attribute, an internal dependency
|
||||||
|
"""
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
@ -11,4 +18,4 @@ syn = { version = '0.12', features = ['full'] }
|
|||||||
quote = '0.4'
|
quote = '0.4'
|
||||||
proc-macro2 = { version = "0.2", features = ["nightly"] }
|
proc-macro2 = { version = "0.2", features = ["nightly"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
wasm-bindgen-shared = { path = "../wasm-bindgen-shared" }
|
wasm-bindgen-shared = { path = "../wasm-bindgen-shared", version = "0.1.0" }
|
||||||
|
1
crates/wasm-bindgen-macro/LICENSE-APACHE
Symbolic link
1
crates/wasm-bindgen-macro/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../LICENSE-APACHE
|
1
crates/wasm-bindgen-macro/LICENSE-MIT
Symbolic link
1
crates/wasm-bindgen-macro/LICENSE-MIT
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../LICENSE-MIT
|
@ -1,7 +1,15 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-shared"
|
name = "wasm-bindgen-shared"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
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]
|
[dependencies]
|
||||||
serde_derive = "1"
|
serde_derive = "1"
|
||||||
|
1
crates/wasm-bindgen-shared/LICENSE-APACHE
Symbolic link
1
crates/wasm-bindgen-shared/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../LICENSE-APACHE
|
1
crates/wasm-bindgen-shared/LICENSE-MIT
Symbolic link
1
crates/wasm-bindgen-shared/LICENSE-MIT
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../LICENSE-MIT
|
@ -9,6 +9,8 @@ fn main() {
|
|||||||
.map(|s| s.stdout)
|
.map(|s| s.stdout)
|
||||||
.and_then(|s| String::from_utf8(s).ok());
|
.and_then(|s| String::from_utf8(s).ok());
|
||||||
if let Some(rev) = rev {
|
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]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user