forked from hrxi/tracing-loki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (35 loc) · 1002 Bytes
/
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
[workspace]
members = [
"loki-api",
"loki-api/generate",
]
[package]
name = "tracing-loki"
description = "A tracing layer for shipping logs to Grafana Loki"
authors = ["hrxi <hrrrxi@gmail.com>"]
repository = "https://github.com/hrxi/tracing-loki"
keywords = ["tracing", "loki"]
version = "0.2.1"
license = "MIT/Apache-2.0"
edition = "2021"
[dependencies]
loki-api = { version = "0.1.0", path = "loki-api" }
reqwest = { version = "0.11.11", default-features = false }
snap = "1.0.5"
serde = { version = "1.0.142", features = ["derive"] }
serde_json = "1.0.83"
tokio = { version = "1.20.1", features = ["sync"] }
tokio-stream = "0.1.9"
tracing = "0.1.36"
tracing-core = "0.1.29"
tracing-log = "0.1.3"
tracing-serde = "0.1.3"
tracing-subscriber = "0.3.15"
url = "2.2.2"
[dev-dependencies]
tokio = { version = "1.20.1", features = ["macros", "rt-multi-thread"] }
[features]
default = ["compat-0-2-1", "rustls"]
compat-0-2-1 = []
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]