[package]
edition = "2024"
rust-version = "1.88.0"
name = "rlg-wasm"
version = "0.0.11"
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]
build = false
include = [
"/Cargo.toml",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/src/**",
"/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
WebAssembly bindings for rlg. Bring structured logging into browsers,
Deno, Cloudflare Workers, Bun, and any wasm-bindgen-capable host.
Records are rendered in any of the 14 rlg LogFormats and dispatched
to the host's console API.
"""
homepage = "https://rustlogs.com/"
documentation = "https://docs.rs/rlg-wasm"
readme = "README.md"
keywords = [
"wasm",
"rlg",
"logging",
"browser",
"cloudflare",
]
categories = [
"wasm",
"development-tools::debugging",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sebastienrousseau/rlg"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "rlg_wasm"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.rlg]
version = "0.0.11"
[dependencies.serde_json]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[lints.rust]
dead_code = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "forbid"
missing_docs = "deny"
non_ascii_idents = "forbid"
unreachable_pub = "forbid"
unsafe_code = "deny"
unused_extern_crates = "warn"