forked from Azure/otel-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (56 loc) · 1.73 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
[package]
name = "otel-lib"
version = "0.1.0"
authors = ["Azure Edge Devs"]
license = "MIT"
edition = "2021"
[dependencies]
axum = "0.6"
env_filter = "0.1"
futures-channel = "0.3"
futures-executor = "0.3"
futures-util = "0.3"
humantime = "2.1"
hyper = { version = "0.14", features = ["http1", "server"] }
log = { version = "0.4", default-features = false }
nix = { version = "0.27", default-features = false, features = [
"process", "hostname",
] }
opentelemetry = { version = "0.22", features = ["metrics", "logs"]}
opentelemetry-otlp = { version ="0.15", features = ["grpc-tonic", "metrics", "logs"]}
opentelemetry-prometheus = {version = "0.15" }
opentelemetry_sdk = {version = "0.22", features = ["metrics", "logs", "rt-tokio", "testing", "logs_level_enabled"]}
opentelemetry-stdout = {version = "0.3", features = ["metrics"]}
prometheus = "0.13"
serde = { version = "1", features = [
"derive",
"rc",
] }
serde_json = { version = "1.0", default-features = false, features = [
"alloc",
] }
tokio = { version = "1", default-features = false, features = [
"full",
] }
[lints.rust]
rust_2018_idioms = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
default_trait_access = "allow"
enum_variant_names = "allow"
let_and_return = "allow"
let_unit_value = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
# TODO(rustup): Buggy lint: https://github.com/rust-lang/rust-clippy/issues/12279
no_effect_underscore_binding = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"