2017-12-14 19:31:01 -08:00
|
|
|
[package]
|
|
|
|
name = "wasm-bindgen"
|
2018-08-13 14:25:05 -07:00
|
|
|
version = "0.2.16"
|
2018-07-19 14:57:04 -05:00
|
|
|
authors = ["The wasm-bindgen Developers"]
|
2018-03-05 20:24:35 -08:00
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
categories = ["wasm"]
|
2018-07-19 14:57:04 -05:00
|
|
|
repository = "https://github.com/rustwasm/wasm-bindgen"
|
|
|
|
homepage = "https://rustwasm.github.io/wasm-bindgen/"
|
2018-03-05 20:24:35 -08:00
|
|
|
documentation = "https://docs.rs/wasm-bindgen"
|
|
|
|
description = """
|
|
|
|
Easy support for interacting between JS and Rust.
|
|
|
|
"""
|
2017-12-14 19:31:01 -08:00
|
|
|
|
2018-02-02 08:10:48 -08:00
|
|
|
[lib]
|
|
|
|
test = false
|
|
|
|
doctest = false
|
|
|
|
|
2018-04-19 13:08:54 -07:00
|
|
|
[features]
|
2018-07-19 14:30:58 -05:00
|
|
|
default = ["spans", "std"]
|
2018-04-25 14:42:13 -05:00
|
|
|
spans = ["wasm-bindgen-macro/spans"]
|
2018-04-19 13:08:54 -07:00
|
|
|
std = []
|
2018-04-26 19:03:46 -07:00
|
|
|
serde-serialize = ["serde", "serde_json", "std"]
|
2018-04-19 13:08:54 -07:00
|
|
|
|
2018-05-25 16:17:54 -07: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-14 19:31:01 -08:00
|
|
|
[dependencies]
|
2018-08-13 14:25:05 -07:00
|
|
|
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.16" }
|
2018-04-26 19:03:46 -07:00
|
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
serde_json = { version = "1.0", optional = true }
|
2017-12-14 19:31:01 -08:00
|
|
|
|
2018-08-01 14:19:19 -05:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2018-08-13 14:25:05 -07:00
|
|
|
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.16' }
|
2018-08-06 09:43:55 -07:00
|
|
|
serde_derive = "1.0"
|
2018-08-06 10:42:08 -07:00
|
|
|
wasm-bindgen-test-crate-a = { path = 'tests/crates/a' }
|
|
|
|
wasm-bindgen-test-crate-b = { path = 'tests/crates/b' }
|
2018-08-01 14:19:19 -05:00
|
|
|
|
2017-12-18 14:31:01 -08:00
|
|
|
[workspace]
|
2018-03-02 20:11:30 -08:00
|
|
|
members = [
|
2018-03-29 08:15:58 -07:00
|
|
|
"crates/cli",
|
2018-07-19 14:30:58 -05:00
|
|
|
"crates/js-sys",
|
2018-07-20 13:47:49 -05:00
|
|
|
"crates/test",
|
2018-08-01 15:52:24 -05:00
|
|
|
"crates/test/sample",
|
2018-06-04 16:44:47 -03:00
|
|
|
"crates/typescript",
|
2018-08-01 17:15:27 -05:00
|
|
|
"crates/macro/ui-tests",
|
2018-07-09 16:35:25 -07:00
|
|
|
"crates/web-sys",
|
2018-07-19 14:30:58 -05:00
|
|
|
"crates/webidl",
|
2018-07-30 11:06:29 -07:00
|
|
|
"crates/webidl-tests",
|
2018-07-25 13:44:14 -07:00
|
|
|
"examples/add",
|
|
|
|
"examples/asm.js",
|
|
|
|
"examples/char",
|
|
|
|
"examples/closures",
|
|
|
|
"examples/comments",
|
2018-03-09 10:25:19 -08:00
|
|
|
"examples/console_log",
|
2018-03-21 08:26:00 -07:00
|
|
|
"examples/dom",
|
2018-08-10 16:56:40 -07:00
|
|
|
"examples/guide-supported-types-examples",
|
2018-07-25 13:44:14 -07:00
|
|
|
"examples/hello_world",
|
|
|
|
"examples/import_js",
|
2018-07-08 17:57:19 +02:00
|
|
|
"examples/julia_set",
|
2018-03-21 10:03:40 -07:00
|
|
|
"examples/math",
|
2018-07-25 13:44:14 -07:00
|
|
|
"examples/no_modules",
|
2018-03-21 10:21:21 -07:00
|
|
|
"examples/performance",
|
2018-07-25 13:44:14 -07:00
|
|
|
"examples/smorgasboard",
|
2018-03-22 17:39:48 -07:00
|
|
|
"examples/wasm-in-wasm",
|
2018-08-06 11:08:35 -07:00
|
|
|
"tests/no-std",
|
2018-03-02 20:11:30 -08:00
|
|
|
]
|
2018-03-20 15:27:45 -07:00
|
|
|
|
2018-07-20 13:47:49 -05:00
|
|
|
[patch.crates-io]
|
|
|
|
wasm-bindgen = { path = '.' }
|
2018-08-13 21:58:13 -07:00
|
|
|
console_error_panic_hook = { git = 'https://github.com/alexcrichton/console_error_panic_hook' }
|