-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
102 lines (82 loc) · 2.14 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[package]
name = "fenrir-rs"
version = "0.5.1"
edition = "2021"
authors = ["Tim Janke <[email protected]>"]
repository = "https://github.com/flying7eleven/fenrir-rs"
description = "Fenrir is a create for using logi for log aggregation which can be used with a logging framework like fern."
keywords = ['loki', 'logging', 'log', 'logfmt']
categories = ['development-tools::debugging']
readme = "README.md"
license = "MIT"
rust-version = "1.60.0"
[dependencies.log]
version = "0.4.18"
default-features = false
[dependencies.url]
version = "2.3.1"
default-features = false
[dependencies.serde]
version = "1.0.163"
default-features = false
features = ["std", "derive"]
[dependencies.base64]
version = "0.21.2"
default-features = false
features = ["std"]
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.serde_json]
version = "1.0.96"
default-features = false
features = ["std"]
optional = true
[dependencies.ureq]
version = "2.6.2"
default-features = false
optional = true
[dependencies.reqwest]
version = "0.11.18"
default-features = false
optional = true
[dependencies.tokio]
version = "1.28.2"
default-features = false
optional = true
[dev-dependencies.value-bag]
version = "1.4.1"
default-features = false
[dev-dependencies.fern]
version = "0.6.2"
default-features = false
[dev-dependencies.humantime]
version = "2.1.0"
default-features = false
[dev-dependencies.tokio]
version = "1.28.2"
features = ["rt-multi-thread", "macros"]
[features]
default = ["ureq", "json"]
ureq = ["dep:ureq"]
reqwest-async = ["dep:reqwest", "async-tokio"]
async-tokio = ["tokio", "tokio/rt"]
json = ["dep:serde_json"]
structured_logging = ["log/kv_unstable_std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--document-private-items"]
[[example]]
name = "simple-logging"
required-features = ["ureq", "json"]
[[example]]
name = "simple-logging-reqwest"
required-features = ["reqwest-async", "json"]
[[example]]
name = "simple-logging-with-auth"
required-features = ["ureq", "json"]
[[example]]
name = "simple-fern-logging"
required-features = ["ureq", "json"]
[[example]]
name = "structured-logging"
required-features = ["ureq", "json", "structured_logging"]