# 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 = "datadog-formatting-layer" version = "3.0.0" authors = ["Open Schnick"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A crate providing a tracing-subscriber layer for formatting events so Datadog can parse them" homepage = "https://github.com/open-schnick/DatadogFormattingLayer" documentation = "https://docs.rs/datadog-formatting-layer" readme = "README.md" keywords = [ "tracing", "tracing-subscriber", "layer", "datadog", ] categories = ["development-tools::debugging"] license = "Apache-2.0" repository = "https://github.com/open-schnick/DatadogFormattingLayer" [lib] name = "datadog_formatting_layer" path = "src/lib.rs" [[test]] name = "custom_sink" path = "tests/custom_sink.rs" [[test]] name = "otel" path = "tests/otel.rs" [[test]] name = "simple" path = "tests/simple.rs" [dependencies.chrono] version = "0.4" [dependencies.opentelemetry] version = "0.23" default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" features = ["preserve_order"] [dependencies.tracing] version = "0.1" [dependencies.tracing-opentelemetry] version = "0.24" default-features = false [dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.opentelemetry-datadog] version = "0.11" features = ["reqwest-client"] [dev-dependencies.opentelemetry_sdk] version = "0.23" features = ["rt-tokio"] [dev-dependencies.regex] version = "1.10" [dev-dependencies.smoothy] version = "0.5" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [lints.clippy] as_conversions = "deny" as_underscore = "deny" clone_on_ref_ptr = "deny" dbg_macro = "deny" deref_by_slicing = "deny" doc_markdown = "deny" else_if_without_else = "deny" empty_drop = "deny" empty_structs_with_brackets = "deny" error_impl_error = "deny" expect_used = "deny" format_push_string = "deny" if_then_some_else_none = "deny" ignored_unit_patterns = "deny" indexing_slicing = "deny" integer_division = "deny" let_underscore_must_use = "deny" let_underscore_untyped = "deny" mem_forget = "deny" missing_assert_message = "deny" missing_errors_doc = "deny" missing_panics_doc = "deny" mixed_read_write_in_expression = "deny" mod_module_files = "deny" module_name_repetitions = "allow" multiple_inherent_impl = "deny" needless_pass_by_value = "deny" needless_raw_strings = "deny" panic = "deny" print_stderr = "deny" print_stdout = "deny" pub_without_shorthand = "deny" redundant_pub_crate = "deny" same_name_method = "deny" semicolon_outside_block = "deny" shadow_reuse = "deny" string_add = "deny" string_slice = "deny" string_to_string = "deny" tests_outside_test_module = "allow" todo = "deny" try_err = "deny" unimplemented = "deny" unnecessary_self_imports = "deny" unneeded_field_pattern = "deny" unreachable = "deny" unwrap_in_result = "deny" unwrap_used = "deny" wildcard_enum_match_arm = "deny" [lints.clippy.nursery] level = "deny" priority = -1 [lints.clippy.pedantic] level = "deny" priority = -1 [lints.rust] missing_docs = "deny" [lints.rustdoc] bare_urls = "deny" broken_intra_doc_links = "deny" invalid_codeblock_attributes = "deny" invalid_html_tags = "deny" invalid_rust_codeblocks = "deny" private_doc_tests = "warn" private_intra_doc_links = "deny" redundant_explicit_links = "deny" unescaped_backticks = "deny"