-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (66 loc) · 2.22 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (66 loc) · 2.22 KB
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
[package]
version = "0.0.0"
name = "code0-flow"
edition = "2024"
description = "Crate for managing the code0-flows inside of the Flow Queue & FlowStore"
repository = "https://github.com/code0-tech/code0-flow"
homepage = "https://code0.tech"
license = "Apache-2.0"
[dependencies]
tucana = { version = "0.0.75", features = ["aquila"], optional = true }
log = { version = "0.4.24", optional = true }
tonic = { version = "0.14.1", optional = true }
dotenv = { version = "0.15.0", optional = true }
tonic-health = { version = "0.14.1", optional = true }
async-nats = { version = "0.49.0", optional = true }
futures-core = { version = "0.3.31", optional = true }
serde_json = { version = "1.0.143", optional = true }
walkdir = { version = "2.5.0", optional = true }
serde = { version = "1.0.228", features = ["derive"], optional = true }
tokio = { version = "1.49.0", optional = true }
opentelemetry = { version = "0.32.0", features = ["logs", "metrics", "trace"], optional = true }
opentelemetry-appender-tracing = { version = "0.32.0", optional = true }
opentelemetry-otlp = { version = "0.32.0", features = ["grpc-tonic", "logs", "metrics", "trace"], optional = true }
opentelemetry_sdk = { version = "0.32.1", features = ["logs", "metrics", "rt-tokio", "trace"], optional = true }
tracing = { version = "0.1.41", features = ["log"], optional = true }
tracing-opentelemetry = { version = "0.33.0", optional = true }
tracing-subscriber = { version = "0.3.20", features = ["env-filter", "fmt"], optional = true }
[lib]
doctest = true
[features]
default = []
flow_definition = [
"dep:log",
"dep:serde",
"dep:serde_json",
"dep:tucana",
"dep:walkdir",
]
flow_service = [
"flow_definition",
"dep:log",
"dep:tokio",
"dep:tonic",
"dep:tucana",
]
flow_config = [
"dep:dotenv",
"dep:log",
]
flow_health = [
"dep:async-nats",
"dep:futures-core",
"dep:tonic",
"dep:tonic-health",
]
flow_telemetry = [
"dep:opentelemetry",
"dep:opentelemetry-appender-tracing",
"dep:opentelemetry-otlp",
"dep:opentelemetry_sdk",
"dep:serde",
"dep:tracing",
"dep:tracing-opentelemetry",
"dep:tracing-subscriber",
]
all = ["flow_definition", "flow_config", "flow_health", "flow_service", "flow_telemetry"]