forked from tremor-rs/tremor-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
226 lines (202 loc) · 6.5 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
[package]
authors = ["The Tremor Team"]
build = "build.rs"
description = "Tremor Runtime"
documentation = "https://docs.tremor.rs"
edition = "2018"
homepage = "https://www.tremor.rs"
license = "Apache-2.0"
name = "tremor-runtime"
readme = "README.md"
repository = "https://github.com/tremor-rs/tremor-runtime"
version = "0.11.4"
[workspace]
members = [
"tremor-api",
"tremor-cli",
"tremor-common",
"tremor-influx",
"tremor-pipeline",
"tremor-script",
"tremor-value",
]
[profile.release]
debug = true
lto = "thin"
opt-level = 3
[dependencies]
anyhow = "1"
async-channel = "1"
async-compat = "0.2"
async-compression = { version = "0.3", features = ["xz", "futures-bufread", "stream"] }
async-std = { version = "1.9.0", features = ["unstable", "attributes", "tokio03", "tokio1"] }
async-std-resolver = "0.20"
async-trait = "0.1"
async-tungstenite = { version = "0.13.1", features = ["async-std-runtime"] }
base64 = "0.13"
beef = { version = "0.5", features = ["impl_serde"] }
byteorder = "1"
bytes = "1.0"
chrono = "0.4"
either = { version = "1.6", features = ["serde"] }
elastic = "0.21.0-pre.5"
error-chain = "0.12"
futures = "0.3.15"
glob = "0.3"
halfbrown = "0.1"
hashbrown = { version = "0.11", features = ["serde"] }
hostname = "0.3"
http-types = "2.11"
indexmap = { version = "1", features = ["serde-1"] }
lapin = "1.7.1"
lazy_static = "1"
libflate = "1.1"
log = "0.4"
log4rs = "1.0"
lz4 = "1.23.2"
pin-project-lite = "0.2"
rand = "0.8"
regex = "1.4"
rental = "0.5"
rmp-serde = "0.15"
serde = "1"
serde_derive = "1"
serde_yaml = "0.8"
simd-json = { version = "0.4", features = ["known-key"] }
simd-json-derive = "0.2"
snap = "1"
surf = "=2.2.0"
syslog_loose = "0.10"
tremor-common = { path = "tremor-common" }
tremor-influx = { path = "tremor-influx" }
tremor-pipeline = { path = "tremor-pipeline" }
tremor-script = { path = "tremor-script" }
tremor-value = { path = "tremor-value" }
url = "2.2"
value-trait = "0.2"
rustls = "0.19"
async-tls = "0.11"
mapr = "0.8"
tempfile = { version = "3.2" }
# blaster / blackhole
hdrhistogram = "7"
xz2 = "0.1"
# postgres
postgres = { version = "0.19", features = ["with-serde_json-1", "with-chrono-0_4"] }
postgres-protocol = "0.6"
tokio-postgres = "0.7"
# kafka. cmake is the encouraged way to build this and also the one that works on windows/with musl.
rdkafka = { version = "0.26", features = ["cmake-build", "libz-static"], default-features = false }
rdkafka-sys = { version = "4.0.0", features = ["cmake-build", "libz-static"] } # tracking the version rdkafka depends on
smol = "1.2.5"
# crononome
cron = "0.9.0"
# logstash grok patterns
grok = "1"
# not used directly in tremor codebase, but present here so that we can turn
# on features for these (see static-ssl feature here)
openssl = { version = "0.10", features = ["vendored"] }
# rest onramp
tide = "0.16"
# nats
async-nats = "0.9.18"
# discord
serenity = { version = "0.10", default-features = false, features = [
"client",
"gateway",
"rustls_backend",
"model",
"cache",
] }
# kv
sled = "0.34"
# opentelemetry
port_scanner = "0.1.5"
tonic = { version = "0.4", default-features = false, features = ["transport", "tls"] }
tremor-otelapis = "0.1"
# gcp
googapis = { version = "0.4.2", default-features = false, features = ["google-pubsub-v1"] }
gouth = { version = "0.2" }
http = "0.2.4"
reqwest = "0.11.3"
[dependencies.tungstenite]
default-features = false
version = "0.13"
[dev-dependencies]
matches = "0.1"
# criterion = "0.2"
env_logger = "0.8"
pretty_assertions = "0.7.2"
proptest = "1.0"
regex = "1"
test-case = "1.1"
[features]
default = []
# support for 128bit numbers in tremor-value
128bit = ["tremor-value/128bit"]
bert = ["tremor-pipeline/bert"]
[patch.crates-io]
rust-bert = { git = 'https://github.com/mfelsche/rust-bert.git', rev = '1140989' }
rust_tokenizers = { git = 'https://github.com/mfelsche/rust-tokenizers.git', rev = '5a7860d' }
# for use during debian packaging, via cargo-deb
# https://github.com/mmstick/cargo-deb#packagemetadatadeb-options
[package.metadata.deb]
name = "tremor"
section = "net"
# keep this in sync with the rpm dependencies (in rpm spec file)
assets = [
["target/release/tremor", "/usr/bin/", "755"],
["README.md", "/usr/share/doc/tremor/", "644"],
["LICENSE", "/usr/share/doc/tremor/", "644"],
["packaging/distribution/etc/tremor/*", "/etc/tremor/", "644"],
[
"packaging/distribution/etc/tremor/config/*",
"/etc/tremor/config/",
"644",
],
[
"packaging/distribution/usr/share/tremor/tremor.sh",
"/usr/share/tremor/",
"755",
],
["tremor-script/lib/**/*", "/usr/share/tremor/lib", "644"],
[
"packaging/distribution/etc/systemd/system/*",
"/lib/systemd/system/",
"644",
],
] # copying systemd service to standard location for debian packages
conf-files = [
"/etc/tremor/logger.yaml",
] # these files won't be overwritten when the package is upgraded
depends = "libc6 (>= 2.17), libstdc++6, libatomic1"
maintainer-scripts = "packaging/distribution/debian/maintainer-scripts/"
# TODO generate this automatically as part of deb packaging (from README intro)
# and place in "extended-description-file"
extended-description = """\
Tremor is an early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation.
"""
# for use during rpm packaging, via cargo-rpm
# https://github.com/iqlusioninc/cargo-rpm
[package.metadata.rpm]
package = "tremor"
[package.metadata.rpm.cargo]
# useful when using cargo rpm itself to build the project (i.e. without the
# --no-cargo-build flag from `cargo rpm build`)
buildflags = ["--release"]
profile = "release"
[package.metadata.rpm.targets]
tremor = { path = "/usr/bin/tremor" }
# The LHS paths here are relative to the rpm config dir (.rpm at project root).
# If you add new files here, please make sure to add them to %files section in
# the rpm spec file (inside .rpm) -- otherwise the rpm packaging will fail.
[package.metadata.rpm.files]
"../LICENSE" = { path = "/usr/share/licenses/tremor/LICENSE" }
"../README.md" = { path = "/usr/share/doc/tremor/README.md" }
"../packaging/distribution/etc/tremor/" = { path = "/etc/tremor/" }
# TODO enable this after some example cleanup
#"../demo/examples/" = { path = "/etc/tremor/config/examples/" }
"../packaging/distribution/usr/share/tremor/tremor.sh" = { path = "/usr/share/tremor/tremor.sh", mode = "755" }
"../tremor-script/lib/" = { path = "/usr/share/tremor/lib/" }
# copying systemd service to standard location for rpm packages
"../packaging/distribution/etc/systemd/system/tremor.service" = { path = "/usr/lib/systemd/system/tremor.service" }