This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
68 lines (58 loc) · 1.6 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
[workspace]
members = [
"core",
"batcher",
"emitter/term",
"emitter/file",
"emitter/otlp",
"emitter/otlp/gen",
"emitter/opentelemetry",
"macros",
"examples/common_patterns",
"examples/opentelemetry/direct_otlp",
"examples/opentelemetry/via_sdk",
]
[package]
name = "emit"
version = "0.11.0-alpha.2"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/kodraus/emit"
description = "Structured diagnostics for Rust applications."
keywords = ["logging", "tracing", "metrics", "observability"]
categories = ["development-tools::debugging"]
edition = "2021"
[package.metadata.docs.rs]
features = ["std", "sval", "serde", "implicit_rt", "implicit_internal_rt"]
[features]
default = ["std", "implicit_rt", "implicit_internal_rt"]
std = ["alloc", "emit_macros/std", "emit_core/std", "rand"]
alloc = ["emit_core/alloc"]
sval = ["emit_macros/sval", "emit_core/sval", "dep:sval"]
serde = ["emit_macros/serde", "emit_core/serde", "dep:serde"]
implicit_rt = ["emit_core/implicit_rt", "emit_macros/implicit_rt"]
implicit_internal_rt = ["emit_core/implicit_internal_rt"]
[dependencies.emit_macros]
version = "0.11.0-alpha.2"
path = "macros"
[dependencies.emit_core]
version = "0.11.0-alpha.2"
path = "core"
default-features = false
[dependencies.value-bag]
version = "1"
[dependencies.sval]
version = "2"
optional = true
default-features = false
[dependencies.serde]
version = "1"
optional = true
default-features = false
[dependencies.rand]
version = "0.8"
optional = true
[dev-dependencies.serde]
version = "1"
features = ["derive"]