jsonpath/wasm/Cargo.toml

36 lines
1.0 KiB
TOML
Raw Normal View History

2019-03-03 00:33:27 +09:00
[package]
2019-04-13 22:27:33 +09:00
name = "jsonpath-wasm"
2019-06-24 14:28:41 +09:00
version = "0.2.3"
2019-03-05 23:48:27 +09:00
authors = ["Changseok Han <freestrings@gmail.com>"]
2019-04-13 22:27:33 +09:00
description = "It is Webassembly version of jsonpath_lib that is JsonPath engine written in Rust - Demo: https://freestrings.github.io/jsonpath"
2019-04-13 22:47:11 +09:00
keywords = ["jsonpath", "json", "webassembly", "parsing", "rust"]
repository = "https://github.com/freestrings/jsonpath"
2019-03-06 23:24:08 +09:00
license = "MIT"
2019-03-03 00:33:27 +09:00
[lib]
crate-type = ["cdylib", "rlib"]
[features]
2019-03-07 18:44:06 +09:00
default = ["console_error_panic_hook", "wee_alloc"]
2019-03-03 00:33:27 +09:00
[dependencies]
2019-06-24 14:28:41 +09:00
cfg-if = "0.1"
2019-03-03 00:33:27 +09:00
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
2019-06-24 14:28:41 +09:00
console_error_panic_hook = { version = "0.1", optional = true }
wee_alloc = { version = "0.4", optional = true }
2019-03-03 00:33:27 +09:00
2019-03-11 17:35:15 +09:00
jsonpath_lib = { path = "../" }
serde = "1.0"
2019-03-03 00:33:27 +09:00
serde_json = { version = "1.0", features = ["preserve_order"] }
2019-03-11 17:35:15 +09:00
lazy_static = "1.3.0"
web-sys = { version = "0.3", features = ['console'] }
js-sys = "0.3"
2019-03-03 00:33:27 +09:00
[dev-dependencies]
wasm-bindgen-test = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2019-03-03 00:33:27 +09:00
[profile.release]
opt-level = "s"