-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (101 loc) Β· 2.77 KB
/
Cargo.toml
File metadata and controls
107 lines (101 loc) Β· 2.77 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
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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "2.48.0"
edition = "2024"
rust-version = "1.94"
authors = ["Squawk Team & Contributors"]
license = "Apache-2.0 OR MIT"
description = "Linter for Postgres migrations & SQL"
documentation = "https://squawkhq.com/docs/"
homepage = "https://squawkhq.com"
repository = "https://github.com/sbdchd/squawk"
[workspace.dependencies]
# third party
base64 = "0.12.2"
console = "0.11.3"
csv = "1.4.0"
glob = "0.3.1"
insta = "1.39.0"
jsonwebtoken = { version = "10.3.0", features = ["rust_crypto"] }
log = "0.4.25"
reqwest = { version = "0.11.27", features = [
"native-tls-vendored",
"blocking",
"json",
] }
la-arena = "0.3.1"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0"
serde_plain = "1.0"
serde_repr = "0.1"
regex = "1.11.1"
simplelog = "0.12.0"
tempfile = "3.21.0"
tiny_pretty = "0.2.1"
toml = "0.5.9"
dir-test = "0.4"
drop_bomb = "0.1.5"
camino = "1.1.9"
rowan = "0.15.15"
salsa = "0.26.0"
smol_str = "0.3.2"
enum-iterator = "2.1.0"
itertools = "0.14.0"
line-index = "0.1.2"
lsp-server = "0.7.8"
lsp-types = "0.95"
serde-wasm-bindgen = "0.6.5"
wasm-bindgen = "0.2.114"
wasm-bindgen-test = "0.3.50"
web-sys = "0.3.91"
console_error_panic_hook = "0.1.7"
console_log = "1.0.0"
annotate-snippets = "0.12.4"
anyhow = "1.0.94"
either = "1.15.0"
convert_case = "0.7.1"
clap = { version = "4.5.8", features = ["derive", "env"] }
ungrammar = "1.1.4"
quote = "1.0.40"
xshell = "0.2.7"
proc-macro2 = "1.0.95"
snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }
smallvec = "1.13.2"
tabled = "0.17.0"
etcetera = "0.11.0"
url = "2.5.4"
crossbeam-channel = "0.5.15"
crossbeam-utils = "0.8.21"
jod-thread = "0.1.2"
libc = "0.2.171"
tracing = "0.1.40"
rustc-hash = "2.1.1"
# local
# we have to make the versions explicit otherwise `cargo publish` won't work
squawk-github = { path = "./crates/squawk_github", version = "2.48.0" }
squawk-ide = { path = "./crates/squawk_ide", version = "2.48.0" }
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.48.0" }
squawk-parser = { path = "./crates/squawk_parser", version = "2.48.0" }
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.48.0" }
squawk-linter = { path = "./crates/squawk_linter", version = "2.48.0" }
squawk-server = { path = "./crates/squawk_server", version = "2.48.0" }
squawk-thread = { path = "./crates/squawk_thread", version = "2.48.0" }
[workspace.lints.clippy]
collapsible_else_if = "allow"
collapsible_if = "allow"
needless_return = "allow"
doc_markdown = "deny"
manual_let_else = "deny"
explicit_iter_loop = "deny"
too_many_arguments = "allow"
disallowed_types = "deny"
[profile.dev]
debug = 0
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3
# These speed up local tests.
rowan.opt-level = 3
text-size.opt-level = 3