# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "veilid-tracing-wasm"
version = "0.1.0"
authors = [
    "Veilid Team <contact@veilid.com>",
    "Cole Lawrence <cole@colelawrence.com>",
    "Story.ai Team <team@story.ai>",
]
build = false
exclude = ["*.png"]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fork of tracing-wasm modified to the needs of the Veilid project. Tracing subscriber for browser WASM"
readme = "README.md"
keywords = [
    "logging",
    "metrics",
    "wasm",
    "spans",
    "tracing",
]
categories = [
    "development-tools::debugging",
    "development-tools::profiling",
    "no-std",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/veilid/tracing-wasm"

[lib]
name = "veilid_tracing_wasm"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.rayon]
version = "1.5"
optional = true

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
default-features = false

[dependencies.wasm-bindgen]
version = "0.2"

[features]
mark-with-rayon-thread-index = ["rayon"]