-
Notifications
You must be signed in to change notification settings - Fork 127
/
Cargo.toml
91 lines (84 loc) · 2.68 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
[package]
authors = ["The Tremor Team"]
description = "Tremor CLI Tool"
edition = "2021"
license = "Apache-2.0"
name = "tremor-cli"
version = "0.12.0-rc.5"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
[build-dependencies]
lalrpop = "0.19"
matches = "0.1.9"
[dev-dependencies]
criterion = "0.3"
float-cmp = "0.9"
matches = "0.1"
pretty_assertions = "1.2.0"
tempfile = { version = "3.2" }
[dependencies]
anyhow = "1"
async-std = { version = "1.11", features = ["unstable"] }
clap = { version = "3", features = ["color", "derive"] }
clap_complete = "3"
difference = "2"
env_logger = "0.9.0"
futures = "0.3"
halfbrown = "0.1"
http-types = "2.12"
# jemallocator = {version = "0.3", optional = false}
log = "0.4"
log4rs = "1.1.0"
serde = "1"
serde_derive = "1"
serde_yaml = "0.8"
signal-hook = "0.3"
signal-hook-async-std = "0.2"
simd-json = { version = "0.4", features = ["known-key"] }
# we need to stick with 0.2.26 as it includes its own libc
# which allows us to build on older systems like centos 7
# issues to track until we can loosen those restrictions:
# - https://github.com/microsoft/snmalloc/issues/328
# - https://github.com/SchrodingerZhu/snmalloc-rs/issues/145
snmalloc-rs = { version = "=0.2.28", optional = false }
snmalloc-sys = { version = "=0.2.28", optional = false }
surf = { version = "=2.3.2", default-features = false, features = [
"encoding",
"h1-client-rustls",
"middleware-logger",
] }
tremor-api = {version = "0.12.0-rc.2", path = "../tremor-api" }
tremor-common = {version = "0.12.0-rc.2", path = "../tremor-common" }
tremor-pipeline = {version = "0.12.0-rc.2", path = "../tremor-pipeline" }
tremor-runtime = {version = "0.12.0-rc.2", path = "../" }
tremor-script = {version = "0.12.0-rc.2", path = "../tremor-script" }
tremor-value = {version = "0.12.0-rc.2", path = "../tremor-value" }
url = "2"
# mimalloc-rs = { version = "0.1", default-features = true, optional = true }
# allocator_api = "0.6.0"
error-chain = "0.12"
globwalk = "0.8"
port_scanner = "0.1"
shell-words = "1.1"
tch = { version = "*", optional = true }
termcolor = "1.1"
[[bin]]
name = "tremor"
path = "src/main.rs"
[features]
#
# We use *empty* feature dependencies so that we can switch allocators
# via feature flags. We *require* no default features so that that mechanism
# in src/alloc.rs works effectively in practice.
#
# It is an error to configure defaults in tremor.cli at this time until rust
# allows switching allocators at compile time - this is currently not well
# supported via the global_allocator attribute nor via cfg attributes that
# levarage features
#
snmalloc = []
# mimalloc = [ "mimalloc-rs" ]
bert = ["tremor-runtime/bert", "tch"]
default = []
# jemalloc = []
stdalloc = []