[package]
edition = "2021"
rust-version = "1.71"
name = "test-log-core"
version = "0.2.20"
authors = ["Daniel Mueller <deso@posteo.net>"]
build = false
include = [
"src/lib.rs",
"LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Core logic for the test-log procedural macro.
"""
homepage = "https://github.com/d-e-s-o/test-log"
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/d-e-s-o/test-log.git"
[features]
default = ["log"]
log = []
trace = []
unstable = []
[lib]
name = "test_log_core"
path = "src/lib.rs"
[dependencies.proc-macro2]
version = "1.0"
default-features = false
[dependencies.quote]
version = "1.0"
default-features = false
[dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
"printing",
"proc-macro",
]
default-features = false
[dev-dependencies.insta]
version = "1.47"
default-features = false
[dev-dependencies.prettyplease]
version = "0.2"
[dev-dependencies.quote]
version = "1.0"
[dev-dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
]
[lints.clippy]
absolute-paths = "warn"
allow-attributes = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
dbg-macro = "warn"
derive-partial-eq-without-eq = "warn"
diverging-sub-expression = "allow"
doc-markdown = "warn"
join-absolute-paths = "warn"
large-enum-variant = "warn"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
redundant-closure-for-method-calls = "warn"
type-complexity = "allow"
unchecked-time-subtraction = "warn"
uninlined-format-args = "warn"
wildcard-imports = "warn"
[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
trivial-numeric-casts = "warn"
unsafe-op-in-unsafe-fn = "warn"
unused = "warn"