Skip to content

Commit aa5c8f9

Browse files
authored
Merge pull request #162 from supabase-community/feat/analyser
feat: analyser
2 parents edd57ae + 87f3a86 commit aa5c8f9

Some content is hidden

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

74 files changed

+4566
-132
lines changed

Cargo.lock

Lines changed: 98 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["crates/*", "lib/*", "xtask/codegen"]
2+
members = ["crates/*", "lib/*", "xtask/codegen", "xtask/rules_check"]
33
resolver = "2"
44

55
[workspace.package]
@@ -17,6 +17,7 @@ rust-version = "1.82.0"
1717
anyhow = "1.0.92"
1818
biome_deserialize = "0.6.0"
1919
biome_deserialize_macros = "0.6.0"
20+
biome_string_case = "0.5.8"
2021
bpaf = { version = "0.9.15", features = ["derive"] }
2122
crossbeam = "0.8.4"
2223
enumflags2 = "0.7.10"
@@ -46,6 +47,8 @@ tree_sitter_sql = { path = "./lib/tree_sitter_sql", version = "0.0.0" }
4647
unicode-width = "0.1.12"
4748

4849
# postgres specific crates
50+
pg_analyse = { path = "./crates/pg_analyse", version = "0.0.0" }
51+
pg_analyser = { path = "./crates/pg_analyser", version = "0.0.0" }
4952
pg_base_db = { path = "./crates/pg_base_db", version = "0.0.0" }
5053
pg_cli = { path = "./crates/pg_cli", version = "0.0.0" }
5154
pg_commands = { path = "./crates/pg_commands", version = "0.0.0" }

crates/pg_analyse/Cargo.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
[package]
3+
authors.workspace = true
4+
categories.workspace = true
5+
description = "<DESCRIPTION>"
6+
edition.workspace = true
7+
homepage.workspace = true
8+
keywords.workspace = true
9+
license.workspace = true
10+
name = "pg_analyse"
11+
repository.workspace = true
12+
version = "0.0.0"
13+
14+
15+
[dependencies]
16+
pg_console.workspace = true
17+
pg_diagnostics.workspace = true
18+
pg_query_ext.workspace = true
19+
pg_schema_cache.workspace = true
20+
rustc-hash = { workspace = true }
21+
22+
biome_deserialize = { workspace = true, optional = true }
23+
biome_deserialize_macros = { workspace = true, optional = true }
24+
enumflags2.workspace = true
25+
schemars = { workspace = true, optional = true }
26+
serde = { workspace = true, features = ["derive"], optional = true }
27+
text-size.workspace = true
28+
29+
[features]
30+
serde = ["dep:serde", "dep:schemars", "dep:biome_deserialize", "dep:biome_deserialize_macros"]

0 commit comments

Comments
 (0)