acta 0.0.1

A customizable logging library for Rust
Documentation
# 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 = "2024"
name = "acta"
version = "0.0.1"
build = "build.rs"
exclude = [
    ".github/",
    ".idea/",
    "img.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A customizable logging library for Rust"
readme = "README.md"
keywords = [
    "tracing",
    "logging",
    "formatting",
    "colors",
    "theme",
]
categories = [
    "development-tools::debugging",
    "development-tools::profiling",
]
license = "MIT"
repository = "https://github.com/Sn0wo2/acta"

[features]
async = [
    "custom-async",
    "native-async",
]
compress = ["dep:flate2"]
custom-async = ["dep:tokio"]
default = [
    "unicode",
    "file",
]
file = ["dep:tracing-appender"]
native-async = ["file"]
nerd = ["dep:nerd-font-symbols"]
serde = ["dep:serde"]
unicode = []

[lib]
name = "acta"
path = "src/lib.rs"

[dependencies.arrayvec]
version = "0.7"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dependencies.derive_more]
version = "2.1.1"
features = [
    "display",
    "from",
]

[dependencies.flate2]
version = "1.1.9"
features = ["miniz_oxide"]
optional = true
default-features = false

[dependencies.nerd-font-symbols]
version = "0.3.0"
optional = true

[dependencies.owo-colors]
version = "4.3.0"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.smallvec]
version = "1"

[dependencies.smart-default]
version = "0.7"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-std",
    "io-util",
    "rt",
    "sync",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"
optional = true

[dependencies.tracing-log]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
    "registry",
    "ansi",
    "std",
]

[build-dependencies.acta-build]
version = "0.0.1"

[lints.clippy]
all = "warn"
dbg_macro = "warn"
mem_forget = "warn"
print_stderr = "warn"
print_stdout = "warn"
str_to_string = "warn"
todo = "warn"
wildcard_imports = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.let_underscore]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = -1

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "warn"
private_intra_doc_links = "warn"
unescaped_backticks = "warn"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
incremental = false
strip = true