-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
194 lines (179 loc) · 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
[workspace]
members = [
".",
"edgedb-cli-derive",
"tests/shared-client-tests",
]
[package]
name = "edgedb-cli"
license = "MIT/Apache-2.0"
version = "5.6.0-dev"
authors = ["EdgeDB Inc. <[email protected]>"]
edition = "2018"
[[bin]]
name = "edgedb"
path = "src/main.rs"
[features]
dev_mode = []
github_action_install = []
github_nightly = []
portable_tests = []
docker_test_wrapper = []
gel = []
[workspace.dependencies]
clap = "4.4.6"
termimad = "0.30.0"
trybuild = "1.0.19"
indexmap = {version = "2.4", features=["serde"]}
heck = "0.5.0"
[dependencies]
edgeql-parser = {git = "https://github.com/edgedb/edgedb"}
edgedb-protocol = {git = "https://github.com/edgedb/edgedb-rust/", features=["all-types"]}
edgedb-derive = {git = "https://github.com/edgedb/edgedb-rust/"}
edgedb-errors = {git = "https://github.com/edgedb/edgedb-rust/"}
edgedb-tokio = {git = "https://github.com/edgedb/edgedb-rust/", features=["admin_socket", "unstable"]}
snafu = "0.8.4"
ansi-escapes = "0.2"
anyhow = "1.0.23"
bytes = "1.5.0"
blake2b_simd = "1.0.0"
blake3 = "1.1.0"
rustyline = { version = "14.0.0" }
clap = {workspace = true, features=["derive", "cargo", "deprecated", "wrap_help"]}
clap_complete = "4.4.3"
color-print = "0.3.5"
const_format = "0.2.33"
strsim = "0.11.0"
whoami = "1.1"
is-terminal = "0.4.4"
scram = { git="https://github.com/elprans/scram" }
rpassword = "7.3.1"
colorful = "0.3.2"
terminal_size = "0.4"
bigdecimal = "0.4"
num-bigint = "0.4.3"
humantime = "2.0.0"
humantime-serde = "1.0.0"
once_cell = "1.3.1"
chrono = {version="0.4.0", default-features=false}
unicode-segmentation = "1.6.0"
unicode-width = "0.1.10"
serde = "1.0"
serde_json = {version="1.0", features=["preserve_order"]}
serde_path_to_error = "0.1.3"
serde_str = {git="https://github.com/tailhook/serde-str"}
serde_millis = "0.1.1"
dirs = "5.0"
uuid = {version="1.1.2", features=["serde", "v4", "fast-rng"]}
prettytable-rs = {version="0.10.0", default-features=false}
tempfile = "3.1.0"
codespan-reporting = "0.11"
termcolor = "1.1.0"
async-listen = "0.2.0"
sha1 = "0.10.1"
hex = {version="0.4.3", features=["serde"]}
textwrap = "0.16.0"
log = "0.4.8"
env_logger = "0.11.0"
os-release = "0.1.0"
reqwest = {version="0.12.8", default-features=false, features=["json", "rustls-tls-native-roots", "http2", "charset", "gzip", "brotli", "deflate"]}
reqwest-middleware = {version = "0.3.0", features=["json"]}
reqwest-retry = "0.6.0"
tracing = "0.1.26"
thiserror = "1.0.16"
which = {version="6", default-features=false}
indexmap = {workspace=true}
term = "1.0"
libc = "0.2.68"
urlencoding = "2.1.0"
fn-error-context = "0.2"
combine = "4.2.1"
sha2 = "0.10.2"
base32 = "0.5.1"
rand = "0.8.2"
downcast-rs = "1.2.0"
base64 = "0.22.1"
ring = {version="0.17.7", features=["std"]}
shell-escape = "0.1.5"
wait-timeout = "0.2.0"
indicatif = "0.17.0"
url = { version = "2.1.1", features=["serde"] }
immutable-chunkmap = "2.0.5"
regex = "1.4.5"
toml = "0.8.19"
termimad = {workspace=true}
minimad = "0.13.1"
edgedb-cli-derive = { path="edgedb-cli-derive" }
fs-err = "2.6.0"
pem = "3.0.3"
rustls = { version = "0.23", features = ["ring"], default-features = false }
tokio-stream = "0.1.11"
futures-util = "0.3.15" # used for signals
concolor = { version = "0.1.1", features = ["auto"] }
backtrace = "0.3.61"
arc-swap = "1.4.0"
ctrlc = "3.2.0"
crossbeam-utils = "0.8.5"
tar = "0.4.37"
zstd = "0.13"
semver = {version="1.0.4", features=["serde"]}
fd-lock = "4.0.2"
zip = "2.2.0"
libflate = "2.1.0"
open = "5.3.0"
tokio = {version="1.23.0",features=[
"macros", "rt", "rt-multi-thread", "fs", "process", "io-std", "net",
]}
dissimilar = "1.0.6"
notify = "6.1"
gethostname = "0.5.0"
bitvec = "1.0.1"
nom = "7.1.3"
bitflags = "2.6"
renamore = "0.3.2"
anes = "0.2.0"
[dependencies.bzip2]
version = "*"
features = ["static"]
[dev-dependencies]
assert_cmd = "2.0.8"
predicates = "3.1.2"
pretty_assertions = "1.2.0"
shutdown_hooks = "0.1.0"
test-case = "3.3.0"
openssl = "0.10.30"
tokio = {version="1.1.0", features=["rt-multi-thread"]}
warp = {git="https://github.com/seanmonstar/warp.git", rev="7b07043cee0ca24e912155db4e8f6d9ab7c049ed", default-features=false, features=["tls"]}
fs_extra = "1.3.0"
test-utils = {git="https://github.com/edgedb/test-utils.git"}
[build-dependencies]
serde_json = "1.0"
[target.'cfg(unix)'.dependencies]
signal-hook = {version="0.3.10", features=["iterator"]}
nix = "0.29"
[target.'cfg(windows)'.dependencies]
winapi = "0.3.8"
winreg = "0.52.0"
wslapi = "0.1.3"
[target.'cfg(unix)'.dev-dependencies]
rexpect = {git="https://github.com/tailhook/rexpect", branch="default_terminal_size"}
# Ensure that openssl-sys is vendored on musl
[target.'cfg(target_env="musl")'.dependencies]
openssl-sys = {version="0.9.104", features=["vendored"]}
[profile.dev]
opt-level = 0
[profile.release]
debug = true
lto = true
[lints.clippy]
useless_format = 'allow'
collapsible_if = 'allow'
derive_partial_eq_without_eq = 'allow'
zero_ptr = 'allow'
manual_strip = 'allow'
new_ret_no_self = 'allow'
type_complexity = 'allow'
vec_init_then_push = 'allow'
while_let_on_iterator = 'allow'
too_many_arguments = 'allow'
clone_on_copy = 'allow'