[dependencies.base64]
optional = true
version = "0.22.1"
[dependencies.bon]
optional = true
version = "3.8.1"
[dependencies.chrono]
default-features = false
features = ["now"]
optional = true
version = "0.4.42"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5.51"
[dependencies.console-subscriber]
optional = true
version = "0.5.0"
[dependencies.dirs]
version = "6.0.0"
[dependencies.dyn-clone]
optional = true
version = "1.0.20"
[dependencies.mutants]
version = "0.0.3"
[dependencies.opentelemetry]
optional = true
version = "0.31.0"
[dependencies.opentelemetry-appender-tracing]
optional = true
version = "0.31.1"
[dependencies.opentelemetry-otlp]
features = ["serialize", "reqwest-rustls"]
optional = true
version = "0.31.0"
[dependencies.opentelemetry-semantic-conventions]
optional = true
version = "0.31.0"
[dependencies.opentelemetry_sdk]
optional = true
version = "0.31.0"
[dependencies.schemars]
features = ["url2"]
optional = true
version = "1.1.0"
[dependencies.secrecy]
optional = true
version = "0.10.3"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.228"
[dependencies.snafu]
version = "0.8.9"
[dependencies.strum]
features = ["derive"]
version = "0.27.2"
[dependencies.tap]
version = "1.0.1"
[dependencies.tracing]
version = "0.1.41"
[dependencies.tracing-appender]
version = "0.2.3"
[dependencies.tracing-opentelemetry]
optional = true
version = "0.32.0"
[dependencies.tracing-subscriber]
features = ["fmt"]
version = "0.3.20"
[dependencies.typetag]
optional = true
version = "0.2.21"
[dependencies.url]
optional = true
version = "2.5.7"
[dev-dependencies.insta]
features = ["json", "redactions"]
version = "1.43.2"
[dev-dependencies.log]
version = "0.4.28"
[dev-dependencies.serde_json]
version = "1.0.145"
[dev-dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread", "tracing"]
version = "1.48.0"
[features]
bon = ["dep:bon"]
chrono = ["dep:chrono"]
clap = ["dep:clap"]
clap-log-file = ["clap"]
compile-verbosity-debug = ["tracing/max_level_debug"]
compile-verbosity-error = ["tracing/max_level_error"]
compile-verbosity-info = ["tracing/max_level_info"]
compile-verbosity-off = ["tracing/max_level_off"]
compile-verbosity-trace = ["tracing/max_level_trace"]
compile-verbosity-warn = ["tracing/max_level_warn"]
json-schema = ["dep:schemars", "serde"]
serde = ["dep:serde", "dep:typetag", "secrecy?/serde", "url?/serde", "insta/json"]
telemetry = ["dep:dyn-clone", "dep:url", "dep:opentelemetry", "dep:opentelemetry-appender-tracing", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:opentelemetry_sdk", "dep:tracing-opentelemetry"]
telemetry-auth = ["dep:base64", "dep:secrecy", "telemetry"]
tokio = ["dep:console-subscriber"]
verbosity-debug = []
verbosity-error = []
verbosity-info = []
verbosity-off = []
verbosity-trace = []
verbosity-warn = []
[lib]
name = "ez_tracing"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "deny"
alloc_instead_of_core = "deny"
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "deny"
as_conversions = "warn"
as_pointer_underscore = "deny"
as_underscore = "deny"
assertions_on_result_states = "deny"
big_endian_bytes = "allow"
cfg_not_test = "deny"
clone_on_ref_ptr = "deny"
create_dir = "warn"
dbg_macro = "warn"
decimal_literal_representation = "warn"
default_numeric_fallback = "deny"
default_union_representation = "allow"
deref_by_slicing = "deny"
disallowed_script_idents = "deny"
doc_include_without_cfg = "deny"
else_if_without_else = "deny"
empty_drop = "warn"
empty_enum_variants_with_brackets = "deny"
empty_structs_with_brackets = "deny"
error_impl_error = "deny"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
exit = "deny"
expect_used = "allow"
field_scoped_visibility_modifiers = "allow"
filetype_is_file = "warn"
float_arithmetic = "warn"
float_cmp_const = "deny"
fn_to_numeric_cast_any = "deny"
get_unwrap = "deny"
if_then_some_else_none = "deny"
impl_trait_in_params = "deny"
implicit_return = "allow"
indexing_slicing = "warn"
infinite_loop = "deny"
inline_asm_x86_att_syntax = "deny"
inline_asm_x86_intel_syntax = "allow"
integer_division = "warn"
integer_division_remainder_used = "warn"
iter_over_hash_type = "deny"
large_include_file = "warn"
let_underscore_must_use = "warn"
let_underscore_untyped = "allow"
little_endian_bytes = "allow"
lossy_float_literal = "deny"
map_err_ignore = "deny"
map_with_unused_argument_over_ranges = "deny"
mem_forget = "warn"
min_ident_chars = "allow"
missing_assert_message = "allow"
missing_asserts_for_indexing = "warn"
missing_docs_in_private_items = "warn"
missing_inline_in_public_items = "deny"
missing_trait_methods = "allow"
mixed_read_write_in_expression = "deny"
mod_module_files = "deny"
module_name_repetitions = "allow"
modulo_arithmetic = "allow"
multiple_inherent_impl = "deny"
multiple_unsafe_ops_per_block = "deny"
mutex_atomic = "deny"
mutex_integer = "deny"
needless_raw_strings = "deny"
non_ascii_literal = "allow"
non_zero_suggestions = "deny"
panic = "deny"
panic_in_result_fn = "deny"
partial_pub_fields = "deny"
pathbuf_init_then_push = "deny"
pattern_type_mismatch = "warn"
pointer_format = "warn"
precedence_bits = "deny"
print_stderr = "deny"
print_stdout = "deny"
pub_use = "warn"
pub_with_shorthand = "allow"
pub_without_shorthand = "deny"
question_mark_used = "allow"
rc_buffer = "deny"
rc_mutex = "deny"
redundant_test_prefix = "deny"
redundant_type_annotations = "deny"
ref_patterns = "deny"
renamed_function_params = "deny"
rest_pat_in_fully_bound_structs = "deny"
return_and_then = "allow"
same_name_method = "deny"
self_named_module_files = "allow"
semicolon_inside_block = "deny"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "deny"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
str_to_string = "deny"
string_add = "deny"
string_lit_chars_any = "deny"
string_slice = "warn"
string_to_string = "deny"
suspicious_xor_used_as_pow = "deny"
tests_outside_test_module = "allow"
todo = "allow"
try_err = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "warn"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"
unnecessary_self_imports = "deny"
unneeded_field_pattern = "deny"
unreachable = "allow"
unseparated_literal_suffix = "deny"
unused_result_ok = "deny"
unused_trait_names = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
use_debug = "deny"
verbose_file_reads = "deny"
wildcard_enum_match_arm = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
deprecated-safe = "deny"
future-incompatible = "deny"
keyword-idents = "deny"
let-underscore = "deny"
nonstandard-style = "deny"
refining-impl-trait = "deny"
rust-2018-compatibility = "deny"
rust-2018-idioms = "deny"
rust-2021-compatibility = "deny"
rust-2024-compatibility = "deny"
unknown-or-malformed-diagnostic-attributes = "deny"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(coverage,coverage_nightly)"]
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::debugging", "development-tools::profiling", "development-tools::testing"]
description = "Tracing, made easy"
edition = "2024"
keywords = ["logging", "tracing", "subscriber", "ez"]
license = "MIT OR Apache-2.0"
name = "ez_tracing"
publish = true
readme = "README.md"
repository = "https://github.com/IzawGithub/ez_tracing"
version = "0.1.0"
[profile.dev.package.insta]
opt-level = 3
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
required-features = ["clap"]
[[test]]
name = "default"
path = "tests/default.rs"
required-features = ["serde"]
[[test]]
name = "error_handling"
path = "tests/error_handling.rs"
[[test]]
name = "filter"
path = "tests/filter.rs"
[[test]]
name = "generate_json_schema"
path = "tests/generate_json_schema.rs"
required-features = ["json-schema"]
[[test]]
name = "guard"
path = "tests/guard.rs"
[[test]]
name = "log_panics"
path = "tests/log_panics.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
required-features = ["serde"]
[[test]]
name = "telemetry"
path = "tests/telemetry.rs"
required-features = ["telemetry", "telemetry-auth", "tokio"]
[[test]]
name = "tokio_console"
path = "tests/tokio_console.rs"
required-features = ["tokio"]