[package]
edition = "2021"
name = "rogue_logging"
version = "0.7.1"
authors = ["RogueOneEcho"]
build = false
include = [
"src/**/*",
"Cargo.lock",
"Cargo.toml",
"LICENSE.md",
"README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Logs you'll actually want to read."
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/RogueOneEcho/logging"
[features]
log = [
"dep:log",
"dep:colored",
]
miette = ["dep:miette"]
miette-fancy = [
"miette",
"miette/fancy",
"dep:owo-colors",
]
[lib]
name = "rogue_logging"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.44"
[dependencies.clap]
version = "4.5.60"
features = ["derive"]
[dependencies.colored]
version = "3.1.1"
optional = true
[dependencies.log]
version = "0.4.29"
features = ["std"]
optional = true
[dependencies.miette]
version = "7.6.0"
optional = true
[dependencies.owo-colors]
version = "4.3.0"
features = ["supports-colors"]
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.insta]
version = "1.46.3"
features = ["yaml"]
[dev-dependencies.miette]
version = "7.6.0"
features = ["fancy"]
[dev-dependencies.thiserror]
version = "2.0.18"
[lints.clippy]
absolute_paths = "warn"
arithmetic_side_effects = "allow"
as_conversions = "warn"
await_holding_lock = "allow"
cast_possible_truncation = "warn"
clone_on_ref_ptr = "allow"
enum_glob_use = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
get_first = "warn"
if_not_else = "warn"
if_then_some_else_none = "warn"
implicit_return = "allow"
indexing_slicing = "warn"
integer_division = "warn"
just_underscores_and_digits = "allow"
match_same_arms = "warn"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
mod_module_files = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
new_without_default = "allow"
non_ascii_literal = "allow"
panic = "warn"
pattern_type_mismatch = "allow"
pub_use = "allow"
question_mark_used = "allow"
result_large_err = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
str_to_string = "warn"
string_add = "allow"
tests_outside_test_module = "allow"
unneeded_wildcard_pattern = "warn"
unseparated_literal_suffix = "warn"
unused_self = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "allow"
wildcard_imports = "allow"
wrong_self_convention = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1