2017-12-15 06:31:01 +03:00
|
|
|
[package]
|
|
|
|
name = "wasm-bindgen"
|
2019-05-20 19:41:56 +03:00
|
|
|
version = "0.2.45"
|
2018-07-19 22:57:04 +03:00
|
|
|
authors = ["The wasm-bindgen Developers"]
|
2018-03-06 07:24:35 +03:00
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
categories = ["wasm"]
|
2018-07-19 22:57:04 +03:00
|
|
|
repository = "https://github.com/rustwasm/wasm-bindgen"
|
2019-03-07 18:42:47 +03:00
|
|
|
homepage = "https://rustwasm.github.io/"
|
2018-03-06 07:24:35 +03:00
|
|
|
documentation = "https://docs.rs/wasm-bindgen"
|
|
|
|
description = """
|
|
|
|
Easy support for interacting between JS and Rust.
|
|
|
|
"""
|
2019-03-26 18:00:16 +03:00
|
|
|
edition = "2018"
|
2017-12-15 06:31:01 +03:00
|
|
|
|
2018-09-05 22:57:36 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ['serde-serialize']
|
|
|
|
|
2018-02-02 19:10:48 +03:00
|
|
|
[lib]
|
|
|
|
test = false
|
|
|
|
|
2018-04-19 23:08:54 +03:00
|
|
|
[features]
|
2018-07-19 22:30:58 +03:00
|
|
|
default = ["spans", "std"]
|
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-08-20 00:45:59 +03:00
|
|
|
nightly = []
|
2018-04-19 23:08:54 +03:00
|
|
|
|
2018-11-28 02:14:59 +03:00
|
|
|
# Whether or not the `#[wasm_bindgen]` macro is strict and generates an error on
|
|
|
|
# all unused attributes
|
|
|
|
strict-macro = ["wasm-bindgen-macro/strict-macro"]
|
|
|
|
|
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]
|
2019-05-20 19:41:56 +03:00
|
|
|
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.45" }
|
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
|
|
|
|
2018-08-01 22:19:19 +03:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2019-05-20 19:41:56 +03:00
|
|
|
js-sys = { path = 'crates/js-sys', version = '0.3.22' }
|
|
|
|
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.45' }
|
2018-08-06 19:43:55 +03:00
|
|
|
serde_derive = "1.0"
|
2018-08-27 23:25:38 +03:00
|
|
|
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
|
|
|
|
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }
|
2018-08-01 22:19:19 +03:00
|
|
|
|
2017-12-19 01:31:01 +03:00
|
|
|
[workspace]
|
2018-03-03 07:11:30 +03:00
|
|
|
members = [
|
2019-04-29 23:32:01 +03:00
|
|
|
"benchmarks",
|
2018-03-29 18:15:58 +03:00
|
|
|
"crates/cli",
|
2018-07-19 22:30:58 +03:00
|
|
|
"crates/js-sys",
|
2018-07-20 21:47:49 +03:00
|
|
|
"crates/test",
|
2018-08-01 23:52:24 +03:00
|
|
|
"crates/test/sample",
|
2019-03-05 19:33:27 +03:00
|
|
|
"crates/typescript-tests",
|
2018-07-10 02:35:25 +03:00
|
|
|
"crates/web-sys",
|
2018-07-19 22:30:58 +03:00
|
|
|
"crates/webidl",
|
2018-07-30 21:06:29 +03:00
|
|
|
"crates/webidl-tests",
|
2018-07-25 23:44:14 +03:00
|
|
|
"examples/add",
|
2018-08-16 02:56:24 +03:00
|
|
|
"examples/canvas",
|
2018-07-25 23:44:14 +03:00
|
|
|
"examples/char",
|
|
|
|
"examples/closures",
|
2018-03-09 21:25:19 +03:00
|
|
|
"examples/console_log",
|
2018-03-21 18:26:00 +03:00
|
|
|
"examples/dom",
|
2019-03-05 19:33:27 +03:00
|
|
|
"examples/duck-typed-interfaces",
|
2018-08-19 00:20:42 +03:00
|
|
|
"examples/fetch",
|
2018-08-11 02:56:40 +03:00
|
|
|
"examples/guide-supported-types-examples",
|
2018-07-25 23:44:14 +03:00
|
|
|
"examples/hello_world",
|
2019-03-25 23:49:05 +03:00
|
|
|
"examples/import_js/crate",
|
2018-07-08 18:57:19 +03:00
|
|
|
"examples/julia_set",
|
2018-09-13 02:10:23 +03:00
|
|
|
"examples/paint",
|
2018-03-21 20:21:21 +03:00
|
|
|
"examples/performance",
|
2018-10-05 06:00:23 +03:00
|
|
|
"examples/raytrace-parallel",
|
2018-12-10 23:50:19 +03:00
|
|
|
"examples/request-animation-frame",
|
2018-10-13 03:21:14 +03:00
|
|
|
"examples/todomvc",
|
2018-03-23 03:39:48 +03:00
|
|
|
"examples/wasm-in-wasm",
|
2018-09-21 02:20:42 +03:00
|
|
|
"examples/wasm2js",
|
2018-08-17 05:30:46 +03:00
|
|
|
"examples/webaudio",
|
2018-09-16 09:28:15 +03:00
|
|
|
"examples/webgl",
|
2019-02-21 22:49:08 +03:00
|
|
|
"examples/without-a-bundler",
|
2019-02-25 22:11:30 +03:00
|
|
|
"examples/without-a-bundler-no-modules",
|
2018-08-06 21:08:35 +03:00
|
|
|
"tests/no-std",
|
2018-03-03 07:11:30 +03:00
|
|
|
]
|
2019-01-11 21:28:44 +03:00
|
|
|
exclude = ['crates/typescript']
|
2018-03-21 01:27:45 +03:00
|
|
|
|
2018-07-20 21:47:49 +03:00
|
|
|
[patch.crates-io]
|
|
|
|
wasm-bindgen = { path = '.' }
|
2018-11-07 22:14:25 +03:00
|
|
|
wasm-bindgen-futures = { path = 'crates/futures' }
|
|
|
|
js-sys = { path = 'crates/js-sys' }
|
|
|
|
web-sys = { path = 'crates/web-sys' }
|