# 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.56.0" name = "rlg" version = "0.0.6" authors = ["RustLogs Contributors"] build = "build.rs" exclude = [ "/.git/*", "/.github/*", "/.gitignore", "/.vscode/*", ] include = [ "/CONTRIBUTING.md", "/LICENSE-APACHE", "/LICENSE-MIT", "/benches/**", "/build.rs", "/Cargo.toml", "/examples/**", "/README.md", "/src/**", "/tests/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ A Rust library that implements application-level logging with a simple, readable output format. Features include log rotation, network logging, and support for multiple structured formats like JSON, CEF, and more. """ homepage = "https://rustlogs.com/" documentation = "https://docs.rs/rlg" readme = "README.md" keywords = [ "debugging", "log", "rlg", "logging", "tracing", ] categories = [ "asynchronous", "development-tools::debugging", "development-tools", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sebastienrousseau/rlg/" [package.metadata.clippy] warn-lints = [ "clippy::all", "clippy::pedantic", "clippy::cargo", "clippy::nursery", ] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--generate-link-to-definition", "--cfg", "docsrs", "--document-private-items", "--display-warnings", ] targets = ["x86_64-unknown-linux-gnu"] [profile.bench] debug = 2 [profile.dev] opt-level = 0 lto = false codegen-units = 256 debug = 2 debug-assertions = true rpath = false panic = "unwind" overflow-checks = true incremental = true strip = false [profile.release] opt-level = "s" lto = true codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" overflow-checks = false incremental = false strip = "symbols" [profile.test] opt-level = 0 lto = false codegen-units = 256 debug = 2 debug-assertions = true rpath = false overflow-checks = true incremental = true strip = false [lib] name = "rlg" crate-type = ["lib"] path = "src/lib.rs" [[example]] name = "example" path = "examples/example.rs" [[example]] name = "example_config" path = "examples/example_config.rs" [[example]] name = "example_lib" path = "examples/example_lib.rs" [[example]] name = "example_log_format" path = "examples/example_log_format.rs" [[example]] name = "example_log_level" path = "examples/example_log_level.rs" [[example]] name = "example_macros" path = "examples/example_macros.rs" [[example]] name = "example_utils" path = "examples/example_utils.rs" [[test]] name = "test_config" path = "tests/test_config.rs" [[test]] name = "test_lib" path = "tests/test_lib.rs" [[test]] name = "test_log_format" path = "tests/test_log_format.rs" [[test]] name = "test_log_level" path = "tests/test_log_level.rs" [[test]] name = "test_macros" path = "tests/test_macros.rs" [[test]] name = "test_utils" path = "tests/test_utils.rs" [[bench]] name = "benchmark" path = "benches/bench.rs" harness = false [dependencies.config] version = "0.14" [dependencies.dtt] version = "0.0" [dependencies.envy] version = "0.4" [dependencies.hostname] version = "0.4" [dependencies.log] version = "0.4" [dependencies.notify] version = "6.1" [dependencies.once_cell] version = "1.19" [dependencies.parking_lot] version = "0.12" [dependencies.rayon] version = "1.10" [dependencies.regex] version = "1.10" [dependencies.reqwest] version = "0.12" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yml] version = "0.0" [dependencies.syslog] version = "7.0" optional = true [dependencies.tempfile] version = "3.12" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.40" features = ["full"] [dependencies.toml] version = "0.8" [dependencies.vrd] version = "0.0" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.tokio-test] version = "0.4.4" [build-dependencies.version_check] version = "0.9" [features] debug_enabled = [] default = [] [lints.rust] bare_trait_objects = "allow" dead_code = "deny" deprecated_in_future = "deny" elided_lifetimes_in_paths = "allow" ellipsis_inclusive_range_patterns = "deny" explicit_outlives_requirements = "deny" macro_use_extern_crate = "deny" meta_variable_misuse = "deny" missing_copy_implementations = "warn" missing_debug_implementations = "forbid" missing_docs = "warn" missing_fragment_specifier = "deny" non_ascii_idents = "forbid" non_camel_case_types = "allow" non_upper_case_globals = "allow" noop_method_call = "deny" single_use_lifetimes = "deny" trivial_bounds = "allow" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_pub = "forbid" unsafe_code = "allow" unstable_features = "warn" unused_extern_crates = "warn" unused_features = "deny" unused_import_braces = "deny" unused_labels = "deny" unused_lifetimes = "deny" unused_macro_rules = "deny" unused_qualifications = "deny" variant_size_differences = "deny" [lints.rust.future_incompatible] level = "deny" priority = -1 [lints.rust.keyword_idents] level = "deny" priority = -1 [lints.rust.rust_2018_idioms] level = "deny" priority = -1 [lints.rust.rust_2021_compatibility] level = "deny" priority = -1 [lints.rust.unused] level = "deny" priority = -1