Skip to content

Commit e4066fb

Browse files
committedDec 11, 2024
setup taplo and unify + format toml files
1 parent c24b2fa commit e4066fb

File tree

57 files changed

+659
-436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+659
-436
lines changed
 

‎.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[alias]
2-
snap = "insta test"
2+
snap = "insta test"
33
xtask = "run --package xtask --"

‎Cargo.toml

+67-66
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,81 @@
11
[workspace]
2-
members = [
3-
"crates/*",
4-
"lib/*",
5-
"xtask/codegen"
6-
]
2+
members = ["crates/*", "lib/*", "xtask/codegen"]
73
resolver = "2"
84

95
[workspace.package]
10-
rust-version = "1.71"
11-
12-
6+
authors = ["Supabase Communnity"]
7+
categories = ["development-tools", "postgres", "supabase"]
8+
edition = "2021"
9+
homepage = "https://supabase.com/"
10+
keywords = ["linter", "typechecker", "postgres", "language-server"]
11+
license = "MIT"
12+
repository = "https://github.com/supabase-community/postgres_lsp"
13+
rust-version = "1.82.0"
1314

1415
[workspace.dependencies]
1516
# supporting crates unrelated to postgres
16-
line_index = { path = "./lib/line_index", version = "0.0.0" }
17-
tree_sitter_sql = { path = "./lib/tree_sitter_sql", version = "0.0.0" }
18-
tree-sitter = "0.20.10"
19-
schemars = { version = "0.8.21", features = ["indexmap2", "smallvec"] }
20-
serde = "1.0.195"
21-
serde_json = "1.0.114"
22-
proc-macro2 = "1.0.66"
23-
termcolor = "1.4.1"
24-
unicode-width = "0.1.12"
25-
text-size = "1.1.1"
26-
enumflags2 = "0.7.10"
27-
similar = "2.6.0"
28-
quote = "1.0.33"
29-
syn = "1.0.109"
30-
indexmap = { version = "2.6.0", features = ["serde"] }
31-
crossbeam = "0.8.4"
32-
rayon = "1.10.0"
33-
rustc-hash = "2.0.0"
17+
anyhow = "1.0.92"
3418
biome_deserialize = "0.6.0"
35-
biome_deserialize_macros = "0.6.0"
36-
toml = "0.8.19"
37-
tracing = { version = "0.1.40", default-features = false, features = ["std"] }
38-
tracing-subscriber = "0.3.18"
39-
bpaf = { version = "0.9.15", features = ["derive"] }
40-
tokio = "1.40.0"
41-
ignore = "0.4.23"
42-
anyhow = "1.0.92"
43-
smallvec = { version = "1.13.2", features = ["union", "const_new", "serde"] }
44-
tower-lsp = "0.20.0"
45-
sqlx = { version = "0.8.2", features = [ "runtime-async-std", "tls-rustls", "postgres", "json" ] }
19+
biome_deserialize_macros = "0.6.0"
20+
bpaf = { version = "0.9.15", features = ["derive"] }
21+
crossbeam = "0.8.4"
22+
enumflags2 = "0.7.10"
23+
ignore = "0.4.23"
24+
indexmap = { version = "2.6.0", features = ["serde"] }
25+
line_index = { path = "./lib/line_index", version = "0.0.0" }
26+
proc-macro2 = "1.0.66"
27+
quote = "1.0.33"
28+
rayon = "1.10.0"
29+
rustc-hash = "2.0.0"
30+
schemars = { version = "0.8.21", features = ["indexmap2", "smallvec"] }
31+
serde = "1.0.195"
32+
serde_json = "1.0.114"
33+
similar = "2.6.0"
34+
smallvec = { version = "1.13.2", features = ["union", "const_new", "serde"] }
35+
sqlx = { version = "0.8.2", features = ["runtime-async-std", "tls-rustls", "postgres", "json"] }
36+
syn = "1.0.109"
37+
termcolor = "1.4.1"
38+
text-size = "1.1.1"
39+
tokio = "1.40.0"
40+
toml = "0.8.19"
41+
tower-lsp = "0.20.0"
42+
tracing = { version = "0.1.40", default-features = false, features = ["std"] }
43+
tracing-subscriber = "0.3.18"
44+
tree-sitter = "0.20.10"
45+
tree_sitter_sql = { path = "./lib/tree_sitter_sql", version = "0.0.0" }
46+
unicode-width = "0.1.12"
4647

4748
# postgres specific crates
48-
pg_flags = { path = "./crates/pg_flags", version = "0.0.0" }
49-
pg_lexer = { path = "./crates/pg_lexer", version = "0.0.0" }
50-
pg_lsp_new = { path = "./crates/pg_lsp_new", version = "0.0.0" }
51-
pg_lsp_converters = { path = "./crates/pg_lsp_converters", version = "0.0.0" }
52-
pg_cli = { path = "./crates/pg_cli", version = "0.0.0" }
53-
pg_configuration = { path = "./crates/pg_configuration", version = "0.0.0" }
54-
pg_markup = { path = "./crates/pg_markup", version = "0.0.0" }
55-
pg_console = { path = "./crates/pg_console", version = "0.0.0" }
56-
pg_text_edit = { path = "./crates/pg_text_edit", version = "0.0.0" }
57-
pg_workspace_new = { path = "./crates/pg_workspace_new", version = "0.0.0" }
58-
pg_fs = { path = "./crates/pg_fs", version = "0.0.0" }
59-
pg_diagnostics = { path = "./crates/pg_diagnostics", version = "0.0.0" }
60-
pg_diagnostics_macros = { path = "./crates/pg_diagnostics_macros", version = "0.0.0" }
49+
pg_base_db = { path = "./crates/pg_base_db", version = "0.0.0" }
50+
pg_cli = { path = "./crates/pg_cli", version = "0.0.0" }
51+
pg_commands = { path = "./crates/pg_commands", version = "0.0.0" }
52+
pg_completions = { path = "./crates/pg_completions", version = "0.0.0" }
53+
pg_configuration = { path = "./crates/pg_configuration", version = "0.0.0" }
54+
pg_console = { path = "./crates/pg_console", version = "0.0.0" }
55+
pg_diagnostics = { path = "./crates/pg_diagnostics", version = "0.0.0" }
6156
pg_diagnostics_categories = { path = "./crates/pg_diagnostics_categories", version = "0.0.0" }
62-
pg_lexer_codegen = { path = "./crates/pg_lexer_codegen", version = "0.0.0" }
63-
pg_statement_splitter = { path = "./crates/pg_statement_splitter", version = "0.0.0" }
64-
pg_query_ext = { path = "./crates/pg_query_ext", version = "0.0.0" }
65-
pg_query_ext_codegen = { path = "./crates/pg_query_ext_codegen", version = "0.0.0" }
66-
pg_syntax = { path = "./crates/pg_syntax", version = "0.0.0" }
67-
pg_schema_cache = { path = "./crates/pg_schema_cache", version = "0.0.0" }
68-
pg_commands = { path = "./crates/pg_commands", version = "0.0.0" }
69-
pg_completions = { path = "./crates/pg_completions", version = "0.0.0" }
70-
pg_base_db = { path = "./crates/pg_base_db", version = "0.0.0" }
71-
pg_query_proto_parser = { path = "./crates/pg_query_proto_parser", version = "0.0.0" }
72-
pg_typecheck = { path = "./crates/pg_typecheck", version = "0.0.0" }
73-
pg_type_resolver = { path = "./crates/pg_type_resolver", version = "0.0.0" }
74-
pg_hover = { path = "./crates/pg_hover", version = "0.0.0" }
75-
pg_inlay_hints = { path = "./crates/pg_inlay_hints", version = "0.0.0" }
76-
pg_lint = { path = "./crates/pg_lint", version = "0.0.0" }
77-
pg_workspace = { path = "./crates/pg_workspace", version = "0.0.0" }
57+
pg_diagnostics_macros = { path = "./crates/pg_diagnostics_macros", version = "0.0.0" }
58+
pg_flags = { path = "./crates/pg_flags", version = "0.0.0" }
59+
pg_fs = { path = "./crates/pg_fs", version = "0.0.0" }
60+
pg_hover = { path = "./crates/pg_hover", version = "0.0.0" }
61+
pg_inlay_hints = { path = "./crates/pg_inlay_hints", version = "0.0.0" }
62+
pg_lexer = { path = "./crates/pg_lexer", version = "0.0.0" }
63+
pg_lexer_codegen = { path = "./crates/pg_lexer_codegen", version = "0.0.0" }
64+
pg_lint = { path = "./crates/pg_lint", version = "0.0.0" }
65+
pg_lsp_converters = { path = "./crates/pg_lsp_converters", version = "0.0.0" }
66+
pg_lsp_new = { path = "./crates/pg_lsp_new", version = "0.0.0" }
67+
pg_markup = { path = "./crates/pg_markup", version = "0.0.0" }
68+
pg_query_ext = { path = "./crates/pg_query_ext", version = "0.0.0" }
69+
pg_query_ext_codegen = { path = "./crates/pg_query_ext_codegen", version = "0.0.0" }
70+
pg_query_proto_parser = { path = "./crates/pg_query_proto_parser", version = "0.0.0" }
71+
pg_schema_cache = { path = "./crates/pg_schema_cache", version = "0.0.0" }
72+
pg_statement_splitter = { path = "./crates/pg_statement_splitter", version = "0.0.0" }
73+
pg_syntax = { path = "./crates/pg_syntax", version = "0.0.0" }
74+
pg_text_edit = { path = "./crates/pg_text_edit", version = "0.0.0" }
75+
pg_type_resolver = { path = "./crates/pg_type_resolver", version = "0.0.0" }
76+
pg_typecheck = { path = "./crates/pg_typecheck", version = "0.0.0" }
77+
pg_workspace = { path = "./crates/pg_workspace", version = "0.0.0" }
78+
pg_workspace_new = { path = "./crates/pg_workspace_new", version = "0.0.0" }
7879

7980
pg_test_utils = { path = "./crates/pg_test_utils" }
8081
# parser = { path = "./crates/parser", version = "0.0.0" }

0 commit comments

Comments
 (0)
Please sign in to comment.