[package]
name = "re_log"
authors.workspace = true
description = "Helpers for setting up and doing text logging in the Rerun crates."
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
publish = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true
[features]
default = []
setup = ["dep:env_logger", "dep:js-sys", "dep:wasm-bindgen"]
[dependencies]
log = { workspace = true, features = ["std"] }
log-once.workspace = true
parking_lot.workspace = true
tracing = { workspace = true, features = ["log"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = { workspace = true, optional = true, features = [
"auto-color",
"humantime",
] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }