[package]
edition = "2024"
rust-version = "1.89"
name = "insomnilog"
version = "0.2.0"
authors = ["Dwayne Steinke <ds424@d-steinke.de>"]
build = "build.rs"
include = [
"src/**/*",
"tests/**/*",
"docs/**/*",
"examples/**/*",
"build.rs",
"README.md",
"CHANGELOG.md",
"LICENSE",
"NOTICES",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An asynchronous Rust logging library that never sleeps"
readme = "README.md"
keywords = [
"logging",
"log",
"non-blocking",
"real-time",
]
categories = ["development-tools::debugging"]
license = "MIT"
repository = "https://github.com/DS424/insomnilog"
resolver = "2"
[features]
rtsan = ["dep:rtsan-standalone"]
[lib]
name = "insomnilog"
path = "src/lib.rs"
[[example]]
name = "core_concepts"
path = "examples/core_concepts.rs"
[[example]]
name = "formatter"
path = "examples/formatter.rs"
[[example]]
name = "preallocating"
path = "examples/preallocating.rs"
[[example]]
name = "quick_start"
path = "examples/quick_start.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[dependencies.rtsan-standalone]
version = "0.3.0"
optional = true
[lints.clippy]
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
missing_docs_in_private_items = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
[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.clippy.style]
level = "warn"
priority = -1
[lints.rust]
dead_code = "allow"
missing_docs = "warn"