2017-12-15 06:31:01 +03:00
|
|
|
[package]
|
|
|
|
name = "wasm-bindgen"
|
2018-05-24 18:56:28 +03:00
|
|
|
version = "0.2.11"
|
2017-12-15 06:31:01 +03:00
|
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
2018-03-06 07:24:35 +03:00
|
|
|
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.
|
|
|
|
"""
|
2017-12-15 06:31:01 +03:00
|
|
|
|
2018-02-02 19:10:48 +03:00
|
|
|
[lib]
|
|
|
|
test = false
|
|
|
|
doctest = false
|
|
|
|
|
2018-04-19 23:08:54 +03:00
|
|
|
[features]
|
2018-06-09 02:46:51 +03:00
|
|
|
default = ["spans", "std", "js_globals"]
|
|
|
|
js_globals = []
|
2018-04-25 22:42:13 +03:00
|
|
|
spans = ["wasm-bindgen-macro/spans"]
|
2018-04-19 23:08:54 +03:00
|
|
|
std = []
|
2018-04-27 05:03:46 +03:00
|
|
|
serde-serialize = ["serde", "serde_json", "std"]
|
2018-04-19 23:08:54 +03:00
|
|
|
|
2018-05-26 02:17:54 +03:00
|
|
|
# This is only for debugging wasm-bindgen! No stability guarantees, so enable
|
|
|
|
# this at your own peril!
|
|
|
|
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
|
|
|
|
|
2017-12-15 06:31:01 +03:00
|
|
|
[dependencies]
|
2018-05-24 18:56:28 +03:00
|
|
|
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.11" }
|
2018-04-27 05:03:46 +03:00
|
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
serde_json = { version = "1.0", optional = true }
|
2017-12-15 06:31:01 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2018-07-06 00:27:26 +03:00
|
|
|
wasm-bindgen-test-project-builder = { path = "crates/test-project-builder", version = '=0.2.11' }
|
2017-12-19 01:31:01 +03:00
|
|
|
|
|
|
|
[workspace]
|
2018-03-03 07:11:30 +03:00
|
|
|
members = [
|
2018-03-29 18:15:58 +03:00
|
|
|
"crates/cli",
|
2018-06-04 22:44:47 +03:00
|
|
|
"crates/typescript",
|
2018-05-26 03:51:48 +03:00
|
|
|
"crates/webidl",
|
2018-03-03 07:11:30 +03:00
|
|
|
"examples/hello_world",
|
2018-03-03 07:19:39 +03:00
|
|
|
"examples/smorgasboard",
|
2018-03-09 21:25:19 +03:00
|
|
|
"examples/console_log",
|
2018-03-21 18:26:00 +03:00
|
|
|
"examples/dom",
|
2018-03-21 20:03:40 +03:00
|
|
|
"examples/math",
|
2018-03-21 20:21:21 +03:00
|
|
|
"examples/performance",
|
2018-03-23 03:39:48 +03:00
|
|
|
"examples/wasm-in-wasm",
|
2018-04-06 18:49:21 +03:00
|
|
|
"examples/closures",
|
2018-04-19 17:20:35 +03:00
|
|
|
"examples/no_modules",
|
2018-04-21 08:38:22 +03:00
|
|
|
"examples/add",
|
2018-04-30 23:22:46 +03:00
|
|
|
"examples/asm.js",
|
2018-05-22 20:34:41 +03:00
|
|
|
"examples/char",
|
2018-05-23 22:06:49 +03:00
|
|
|
"examples/import_js",
|
2018-06-15 19:20:56 +03:00
|
|
|
"examples/comments"
|
2018-03-03 07:11:30 +03:00
|
|
|
]
|
2018-03-21 01:27:45 +03:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2018-04-10 02:36:23 +03:00
|
|
|
opt-level = 's'
|
2018-04-06 18:05:47 +03:00
|
|
|
panic = 'abort'
|