-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
85 lines (75 loc) · 2.08 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
[package]
name = "tracing-axiom"
version = "0.7.0"
authors = [
"Arne Bahlo <arne@axiom.co>",
"Darach Ennis <darach@gmail.com>",
"Heinz Gies <heinz@licenser.net>",
]
edition = "2021"
rust-version = "1.73"
license = "MIT OR Apache-2.0"
description = "The tracing layer for shipping traces to Axiom"
homepage = "https://axiom.co"
repository = "https://github.com/axiomhq/tracing-axiom"
documentation = "https://docs.rs/tracing-axiom"
keywords = ["tracing", "axiom", "instrumentation", "opentelemetry"]
readme = "README.md"
include = [
"src/**/*.rs",
"examples",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
resolver = "2"
[dependencies]
url = "2.4.1"
thiserror = "1"
tracing-core = { version = "0.1", default-features = false, features = ["std"] }
tracing-opentelemetry = { version = "0.23", default-features = false }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"smallvec",
"std",
"registry",
"fmt",
"json",
] }
reqwest = { version = "0.11", default-features = false }
opentelemetry = { version = "0.22" }
opentelemetry-otlp = { version = "0.15", features = [
"prost",
"tokio",
"http-proto",
"reqwest-client",
] }
opentelemetry-semantic-conventions = "0.15"
opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"] }
[dev-dependencies]
tokio = { version = "1", features = ["full", "tracing"] }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"smallvec",
"std",
"registry",
"fmt",
"json",
"ansi",
] }
# Example that demonstrates how to use the `tracing-axiom` layer with the `tracing-subscriber` crate.
[[example]]
name = "layers"
# Simple most example use of `tracing-axiom`.
[[example]]
name = "simple"
# Example that demonstrates using a nice color and formating
[[example]]
name = "fmt"
# Demonstrate setting config in the code
[[example]]
name = "noenv"
[features]
default = ["rustls-tls"]
default-tls = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]