-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCargo.toml
40 lines (35 loc) · 1.01 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
[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.6"
license = "MIT/Apache-2.0"
edition = "2021"
[dependencies]
loki-api = { version = "0.1.0", path = "loki-api" }
reqwest = { version = ">=0.11.10,<0.13.0", default-features = false }
snap = "1.0.5"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
tokio = { version = "1.17.0", features = ["sync"] }
tokio-stream = "0.1.8"
tracing = "0.1.32"
tracing-core = "0.1.23"
tracing-log = ">=0.1.2,<0.3.0"
tracing-serde = ">=0.1.3,<0.3.0"
tracing-subscriber = "0.3.9"
url = "2.2.2"
[dev-dependencies]
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
[features]
default = ["compat-0-2-1", "native-tls"]
compat-0-2-1 = []
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]