jsonpath/wasm/Cargo.toml
2019-04-08 15:58:55 +09:00

32 lines
915 B
TOML

[package]
name = "jsonpath-wasm"
version = "0.1.7"
authors = ["Changseok Han <freestrings@gmail.com>"]
description = "JsonPath Webassembly version compiled by Rust - Demo: https://freestrings.github.io/jsonpath"
keywords = ["library", "jsonpath", "json", "webassembly"]
repository = "https://github.com/freestrings/jsonpath"
license = "MIT"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook", "wee_alloc"]
[dependencies]
cfg-if = "0.1.2"
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
console_error_panic_hook = { version = "0.1.1", optional = true }
wee_alloc = { version = "0.4.2", optional = true }
jsonpath_lib = { path = "../" }
serde_json = { version = "1.0", features = ["preserve_order"] }
lazy_static = "1.3.0"
web-sys = { version = "0.3", features = ['console'] }
[dev-dependencies]
wasm-bindgen-test = "0.2"
[profile.release]
opt-level = "s"