[package] name = "galaxy_logging" edition = "2024" description = "Warp logging configuration" publish.workspace = true license.workspace = true [dependencies] anyhow.workspace = true chrono.workspace = true cfg-if.workspace = true env_logger.workspace = true log.workspace = true galaxy_core.workspace = true [target.'cfg(not(target_family = "wasm"))'.dependencies] dirs.workspace = true log-panics = { version = "2.1.0", features = ["with-backtrace"] } zip = "2.1" # Optional crash reporting integration. sentry = { workspace = true, optional = true } sentry-log = { workspace = true, optional = true } [target.'cfg(target_family = "wasm")'.dependencies] console_error_panic_hook = { version = "0.1.6" } js-sys = "0.3.63" wasm-bindgen.workspace = true web-sys.workspace = true galaxy_web_event_bus.workspace = true [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] tempfile.workspace = true [features] crash_reporting = ["dep:sentry", "dep:sentry-log", "galaxy_core/crash_reporting"] agent_mode_evals = []