-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (60 loc) · 2.09 KB
/
Copy pathCargo.toml
File metadata and controls
73 lines (60 loc) · 2.09 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
70
71
72
73
[package]
name = "prosa"
version = "0.4.4"
authors.workspace = true
description = "ProSA core"
homepage.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
include.workspace = true
[features]
default = ["system-metrics", "http-proxy", "openssl", "prometheus"]
system-metrics = ["dep:memory-stats"]
http-proxy = ["dep:async-http-proxy"]
openssl = ["dep:openssl", "dep:tokio-openssl", "prosa-utils/config-openssl"]
openssl-vendored = ["openssl", "openssl/vendored", "prosa-utils/config-openssl-vendored"]
prometheus = ["dep:prometheus", "prosa-utils/config-observability-prometheus"]
queue = ["prosa-utils/queue"]
[[example]]
name = "proc"
path = "examples/proc.rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.prosa]
main = ["core::main::MainProc"]
[package.metadata.prosa.inj]
proc = "inj::proc::InjProc"
settings = "inj::proc::InjSettings"
adaptor = ["inj::adaptor::InjDummyAdaptor"]
[package.metadata.prosa.stub]
proc = "stub::proc::StubProc"
settings = "stub::proc::StubSettings"
adaptor = ["stub::adaptor::StubParotAdaptor"]
[lints.clippy]
unwrap_used = "deny"
[dependencies]
prosa-utils = { workspace = true, features = ["msg", "config", "config-observability"] }
prosa-macros.workspace = true
log.workspace = true
tracing = "0.1"
thiserror.workspace = true
url = { version = "2", features = ["serde"] }
rlimit = "0.11"
simple-mermaid.workspace = true
openssl = { workspace = true, optional = true }
tokio.workspace = true
tokio-openssl = { version = "0.6", optional = true }
async-http-proxy = { version = "1", optional = true, features = ["runtime-tokio","basic-auth"] }
serde.workspace = true
config = { version = "0.15", default-features = false, features = ["toml", "yaml", "json", "convert-case"] }
glob = { version = "0.3" }
toml.workspace = true
serde_yaml = "0.9"
opentelemetry.workspace = true
opentelemetry_sdk.workspace = true
prometheus = { workspace = true, optional = true }
memory-stats = { version = "1", optional = true }
[dev-dependencies]
futures-util = { version = "0.3", default-features = false }