[package]
edition = "2024"
rust-version = "1.100.0"
name = "ic-logging"
version = "0.25.2"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded application logs with explicit retention and scan limits"
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/dragginzgame/ic-observability"
[package.metadata.cargo-machete]
ignored = ["toko-tooling"]
[lib]
name = "ic_logging"
path = "src/lib.rs"
[[example]]
name = "byte-budgeted-export"
path = "examples/byte-budgeted-export/main.rs"
test = true
[[example]]
name = "worker"
path = "examples/worker.rs"
[[test]]
name = "typed_history"
path = "tests/typed_history.rs"
[dev-dependencies.toko-tooling]
version = "=0.41.0"
[lints.cargo]
missing_lints_inheritance = "deny"
unknown_lints = "deny"
unused_dependencies = "deny"
unused_workspace_dependencies = "deny"
unused_workspace_package_fields = "deny"
[lints.clippy]
missing_panics_doc = "warn"
must_use_candidate = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
too_many_lines = "allow"
wildcard_imports = "warn"
[lints.clippy.all]
level = "warn"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "warn"
unfulfilled_lint_expectations = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_markdown_table = "deny"