forked from txpipe/oura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (72 loc) · 2.52 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
86
[package]
name = "oura"
description = "The tail of Cardano"
version = "1.8.1"
edition = "2021"
repository = "https://github.com/txpipe/oura"
homepage = "https://github.com/txpipe/oura"
documentation = "https://docs.rs/oura"
license = "Apache-2.0"
readme = "README.md"
authors = ["Santiago Carmuega <[email protected]>"]
[dependencies]
pallas = { git = "https://github.com/Emurgo/pallas", tag = "conway_6" }
# pallas = { git = "https://github.com/txpipe/pallas" }
# pallas = { path = "../../pallas/pallas" }
hex = "0.4.3"
net2 = "0.2.37"
bech32 = "0.9.1"
clap = "3.2.22"
log = "0.4.17"
env_logger = "0.10.0"
crossterm = "0.25"
merge = "0.1.0"
config = { version = "0.13.2", default-features = false, features = [
"toml",
"yaml",
"json",
] }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = { version = "1.0.89", features = ["arbitrary_precision"] }
strum = "0.24"
strum_macros = "0.24"
prometheus_exporter = { version = "0.8.5", default-features = false }
unicode-truncate = "0.2.0"
# feature logs
file-rotate = { version = "0.7.1", optional = true }
# feature: webhook
reqwest = { version = "0.11", optional = true, features = ["blocking", "json"] }
# feature: kafkasink
kafka = { version = "0.8.0", optional = true }
# feature: elasticsink
elasticsearch = { version = "7.14.0-alpha.1", optional = true }
# feature: fingerprint
murmur3 = { version = "0.5.2", optional = true }
# feature: aws
aws-config = { version = "0.14.0", optional = true }
aws-sdk-sqs = { version = "0.14.0", optional = true }
aws-sdk-lambda = { version = "0.14.0", optional = true }
aws-sdk-s3 = { version = "0.14.0", optional = true }
# features: elasticsearch || aws
tokio = { version = "1.24.2", optional = true, features = ["rt"] }
# required for CI to complete successfully
openssl = { version = "0.10", optional = true, features = ["vendored"] }
# redis support
redis = { version = "0.21.6", optional = true, features = ["tokio-comp"] }
# features: gcp
google-cloud-pubsub = { version = "0.12.0", optional = true }
google-cloud-googleapis = { version = "0.7.0", optional = true }
# features: rabbitmqsink
lapin = { version = "2.1.1", optional = true }
[features]
default = []
web = ["reqwest"]
logs = ["file-rotate"]
webhook = ["web"]
kafkasink = ["kafka", "openssl"]
elasticsink = ["elasticsearch", "tokio"]
fingerprint = ["murmur3"]
aws = ["aws-config", "aws-sdk-sqs", "aws-sdk-lambda", "aws-sdk-s3", "tokio"]
redissink = ["redis", "tokio"]
gcp = ["google-cloud-pubsub", "google-cloud-googleapis", "tokio", "web"]
rabbitmqsink = ["lapin", "tokio"]