# 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.70.0" name = "flexi_logger" version = "0.29.6" authors = ["emabee "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An easy-to-configure and flexible logger that writes logs to stderr or stdout and/or to files. It allows custom logline formats, and it allows changing the log specification at runtime. It also allows defining additional log streams, e.g. for alert or security messages." documentation = "https://docs.rs/flexi_logger" readme = "README.md" keywords = [ "file", "logger", ] categories = ["development-tools::debugging"] license = "MIT OR Apache-2.0" repository = "https://github.com/emabee/flexi_logger" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "flexi_logger" path = "src/lib.rs" doctest = false [[example]] name = "colors" path = "examples/colors.rs" [[example]] name = "colors2" path = "examples/colors2.rs" [[example]] name = "dedup" path = "examples/dedup.rs" [[example]] name = "entry_numbers" path = "examples/entry_numbers.rs" [[example]] name = "filter" path = "examples/filter.rs" [[example]] name = "performance" path = "examples/performance.rs" [[example]] name = "rotate" path = "examples/rotate.rs" [[example]] name = "version_numbers" path = "examples/version_numbers.rs" [[example]] name = "write_writer" path = "examples/write_writer.rs" [[test]] name = "test_age_or_size" path = "tests/test_age_or_size.rs" [[test]] name = "test_colors" path = "tests/test_colors.rs" [[test]] name = "test_custom_log_writer" path = "tests/test_custom_log_writer.rs" [[test]] name = "test_default_file_and_writer" path = "tests/test_default_file_and_writer.rs" [[test]] name = "test_env_logger_style" path = "tests/test_env_logger_style.rs" [[test]] name = "test_error_channel" path = "tests/test_error_channel.rs" [[test]] name = "test_error_channel_error" path = "tests/test_error_channel_error.rs" [[test]] name = "test_external_delete" path = "tests/test_external_delete.rs" [[test]] name = "test_external_rename" path = "tests/test_external_rename.rs" [[test]] name = "test_file_writer" path = "tests/test_file_writer.rs" [[test]] name = "test_file_writer_as_writer" path = "tests/test_file_writer_as_writer.rs" [[test]] name = "test_force_utc_1_panic" path = "tests/test_force_utc_1_panic.rs" [[test]] name = "test_force_utc_3" path = "tests/test_force_utc_3.rs" [[test]] name = "test_force_utc_4" path = "tests/test_force_utc_4.rs" [[test]] name = "test_json" path = "tests/test_json.rs" [[test]] name = "test_kv" path = "tests/test_kv.rs" [[test]] name = "test_mods" path = "tests/test_mods.rs" [[test]] name = "test_mods_off" path = "tests/test_mods_off.rs" [[test]] name = "test_multi_logger" path = "tests/test_multi_logger.rs" [[test]] name = "test_multi_threaded_cleanup_async" path = "tests/test_multi_threaded_cleanup_async.rs" [[test]] name = "test_multi_threaded_cleanup_use_utc" path = "tests/test_multi_threaded_cleanup_use_utc.rs" [[test]] name = "test_multi_threaded_dates" path = "tests/test_multi_threaded_dates.rs" [[test]] name = "test_multi_threaded_numbers" path = "tests/test_multi_threaded_numbers.rs" [[test]] name = "test_multi_threaded_numbers_dedup" path = "tests/test_multi_threaded_numbers_dedup.rs" [[test]] name = "test_multi_threaded_stderr" path = "tests/test_multi_threaded_stderr.rs" [[test]] name = "test_no_logger" path = "tests/test_no_logger.rs" [[test]] name = "test_parse_errors" path = "tests/test_parse_errors.rs" [[test]] name = "test_reconfigure_methods" path = "tests/test_reconfigure_methods.rs" [[test]] name = "test_recursion" path = "tests/test_recursion.rs" [[test]] name = "test_restart_with_no_suffix" path = "tests/test_restart_with_no_suffix.rs" [[test]] name = "test_rotate_immediate_compression" path = "tests/test_rotate_immediate_compression.rs" [[test]] name = "test_rotate_naming_variants" path = "tests/test_rotate_naming_variants.rs" [[test]] name = "test_specfile" path = "tests/test_specfile.rs" [[test]] name = "test_textfilter" path = "tests/test_textfilter.rs" [[test]] name = "test_trc" path = "tests/test_trc.rs" [[test]] name = "test_trigger_rotation" path = "tests/test_trigger_rotation.rs" [[test]] name = "test_utils" path = "tests/test_utils.rs" [[test]] name = "test_windows_line_ending" path = "tests/test_windows_line_ending.rs" [[test]] name = "test_write_modes" path = "tests/test_write_modes.rs" [[bench]] name = "bench_reconfigurable" path = "benches/bench_reconfigurable.rs" [[bench]] name = "bench_standard" path = "benches/bench_standard.rs" [dependencies.chrono] version = "0.4.22" features = ["clock"] default-features = false [dependencies.crossbeam-channel] version = "0.5" optional = true [dependencies.crossbeam-queue] version = "0.3" optional = true [dependencies.flate2] version = "1.0" features = ["rust_backend"] optional = true [dependencies.hostname] version = "0.4" optional = true [dependencies.log] version = "0.4" features = ["std"] [dependencies.notify-debouncer-mini] version = "0.4.1" optional = true default-features = false [dependencies.nu-ansi-term] version = "0.50" optional = true [dependencies.regex] version = "1.1" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.toml] version = "0.8" optional = true [dependencies.tracing] version = "0.1.36" optional = true [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] optional = true [dev-dependencies.cond_sync] version = "0.2" [dev-dependencies.either] version = "1.9" [dev-dependencies.flate2] version = "1.0" [dev-dependencies.glob] version = "0.3" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.temp-dir] version = "0.1" [dev-dependencies.tracing] version = "0.1.36" [dev-dependencies.version-sync] version = "0.9" [features] async = [ "dep:crossbeam-channel", "dep:crossbeam-queue", ] colors = ["dep:nu-ansi-term"] compress = ["dep:flate2"] default = [ "colors", "textfilter", ] dont_minimize_extra_stacks = [] json = [ "dep:serde_json", "dep:serde", "dep:serde_derive", ] kv = ["log/kv_serde"] specfile = [ "specfile_without_notification", "dep:notify-debouncer-mini", ] specfile_without_notification = [ "dep:serde", "dep:toml", "dep:serde_derive", ] syslog_writer = [ "dep:libc", "dep:hostname", ] textfilter = ["dep:regex"] trc = [ "async", "specfile", "dep:tracing", "dep:tracing-subscriber", ] [target."cfg(linux)".dependencies.libc] version = "^0.2.50" optional = true