wasm-bindgen/Cargo.toml

63 lines
1.5 KiB
TOML
Raw Normal View History

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
[lib]
test = false
doctest = false
[features]
default = ["spans", "std", "js_globals"]
js_globals = []
spans = ["wasm-bindgen-macro/spans"]
std = []
serde-serialize = ["serde", "serde_json", "std"]
# 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" }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
2017-12-15 06:31:01 +03:00
[dev-dependencies]
wasm-bindgen-test-project-builder = { path = "crates/test-project-builder", version = '=0.2.11' }
2017-12-19 01:31:01 +03:00
[workspace]
members = [
"crates/cli",
"crates/typescript",
"crates/webidl",
"examples/hello_world",
2018-03-03 07:19:39 +03:00
"examples/smorgasboard",
"examples/console_log",
2018-03-21 18:26:00 +03:00
"examples/dom",
2018-03-21 20:03:40 +03:00
"examples/math",
"examples/performance",
"examples/wasm-in-wasm",
"examples/closures",
"examples/no_modules",
"examples/add",
"examples/asm.js",
"examples/char",
"examples/import_js",
"examples/comments"
]
[profile.release]
lto = true
opt-level = 's'
panic = 'abort'