forked from fast/logcall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (38 loc) · 1.06 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "logcall"
version = "0.1.5"
edition = "2021"
authors = ["andylokandy <[email protected]>"]
description = "An attribute macro that logs the function return value."
repository = "https://github.com/andylokandy/logfn"
documentation = "https://docs.rs/logfn"
categories = ["development-tools::debugging"]
readme = "README.md"
keywords = ["log", "macro", "derive", "logging", "function"]
license = "MIT"
[lib]
proc-macro = true
[features]
structured-logging = [] # if enabled, user crates should depend on `structured-logger`
format-display = [] # if enabled, cause the log! messages to serialize values with '{}' instead of '{:?}'
default=["structured-logging"]
[dependencies]
proc-macro-error = "1"
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = [
"full",
"parsing",
"extra-traits",
"proc-macro",
"visit-mut",
"visit",
"fold",
"printing",
] }
[dev-dependencies]
trybuild = "1"
log = "0.4"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
structured-logger = "1"
async-trait = "0.1"