# 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" rust-version = "1.78" name = "tracing-etw" version = "0.2.1" authors = [ "Kyle Sabo", "Microsoft", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "ETW or Linux user_events output for tokio-tracing" readme = "README.md" license = "MIT" repository = "https://github.com/microsoft/tracing-etw" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "tracing_etw" crate-type = ["rlib"] path = "src/lib.rs" [[bin]] name = "main" path = "src/bin/main.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "etw_event" path = "examples/etw_event.rs" [[example]] name = "instrument" path = "examples/instrument.rs" [[example]] name = "span" path = "examples/span.rs" [[example]] name = "stress" path = "examples/stress.rs" [[bench]] name = "etw" path = "benches/etw.rs" harness = false [[bench]] name = "user_events" path = "benches/user_events.rs" harness = false [dependencies.chrono] version = "0.4" features = ["std"] default-features = false [dependencies.dashmap] version = "6" [dependencies.once_cell] version = ">=1.18" [dependencies.paste] version = "1" [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" features = ["std"] default-features = false [dependencies.tracing-core] version = "0.1" default-features = false [dependencies.tracing-subscriber] version = "0.3" features = [ "std", "fmt", "registry", ] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.tracing] version = "0.1" features = [ "std", "attributes", ] default-features = false [features] common_schema = [] default = ["common_schema"] global_filter = [] [target.'cfg(not(target_os = "linux"))'.dependencies.tracelogging] version = ">= 1.2.0" [target.'cfg(not(target_os = "linux"))'.dependencies.tracelogging_dynamic] version = ">= 1.2.0" [target.'cfg(target_os = "linux")'.dependencies.eventheader] version = ">= 0.4" [target.'cfg(target_os = "linux")'.dependencies.eventheader_dynamic] version = ">= 0.4" [target."cfg(windows)".dev-dependencies.windows] version = "0.58" features = [ "Win32_System_Diagnostics_Etw", "Win32_Foundation", "Win32_System_Time", ]