2020-09-14 13:27:38 +00:00
[ package ]
name = "weblog"
2020-11-13 09:20:15 +00:00
version = "0.4.0-beta.1"
authors = [ "Rob Watson" ]
2020-09-14 13:27:38 +00:00
edition = "2018"
description = "weblog is a crate that defines a set of macros for calling `console.log()` and other members of the browser's console API when targeting Wasm."
2020-11-13 09:20:15 +00:00
repository = "https://git.netflux.io/rob/weblog"
2020-09-14 13:27:38 +00:00
keywords = [ "wasm" , "webassembly" , "console" , "log" , "logging" ]
license = "MIT OR Apache-2.0"
[ lib ]
2020-09-16 08:39:55 +00:00
# FIXME: https://github.com/rfwatson/weblog/issues/2
2020-09-14 13:27:38 +00:00
test = false
doctest = true
[ features ]
default = [ "web_sys" ]
2020-09-17 14:42:05 +00:00
web_sys = [ "web-sys" , "wasm-bindgen" , "weblog-proc-macro" ]
2020-09-14 13:27:38 +00:00
std_web = [ "stdweb" ]
[ dependencies ]
2020-09-15 14:48:32 +00:00
stdweb = { version = ">= 0.4" , optional = true }
2020-11-13 09:20:15 +00:00
weblog-proc-macro = { path = "./weblog-proc-macro" , version = "0.4.0-beta.1" , optional = true }
2020-09-17 14:42:05 +00:00
web-sys = { version = "0.3" , features = [ "console" ] , optional = true }
wasm-bindgen = { version = "0.2" , optional = true }