Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (49 loc) · 2.12 KB
/
Copy pathCargo.toml
File metadata and controls
56 lines (49 loc) · 2.12 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
[workspace]
members = [
"crates/sqlclean",
"crates/sqlclean-cli",
]
resolver = "2"
[workspace.package]
version = "0.9.1" # x-release-please-version
edition = "2024"
license = "Apache-2.0"
publish = false
repository = "https://github.com/sqlstack-io/sqlclean"
# SQLBuild builds these crates as dependencies, so they must not require a newer toolchain than it.
rust-version = "1.88"
[workspace.dependencies]
clap = { version = "4", features = ["derive"] }
globset = "0.4"
include_dir = "0.7"
ignore = "0.4"
tempfile = "3"
toml = "0.9"
rayon = "1"
regex = "1"
rustc-hash = "2"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
sha2 = "0.10"
similar = "2"
sqlclean = { path = "crates/sqlclean" }
# SQLQuack's formatter and lint engine, and the tokens and trees they read, which replace Polyglot.
sqlquack-fingerprint = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "227a29cf1e5a29f645af39a49ec79ece53a0b712", features = ["bigquery", "databricks", "duckdb", "postgres", "snowflake", "sqlite", "sqlserver"] }
sqlquack-format = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "227a29cf1e5a29f645af39a49ec79ece53a0b712", features = ["bigquery", "databricks", "duckdb", "postgres", "snowflake", "sqlserver"] }
sqlquack-lint = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "227a29cf1e5a29f645af39a49ec79ece53a0b712", features = ["bigquery", "databricks", "duckdb", "postgres", "snowflake", "sqlite"] }
sqlquack-parse = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "227a29cf1e5a29f645af39a49ec79ece53a0b712" }
sqlquack-syntax = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "227a29cf1e5a29f645af39a49ec79ece53a0b712" }
sqlquack-syntax-sqlserver = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "227a29cf1e5a29f645af39a49ec79ece53a0b712" }
[workspace.lints.rust]
unsafe_code = "forbid"
unreachable_pub = "deny"
unused_must_use = "deny"
[workspace.lints.clippy]
await_holding_lock = "deny"
[profile.dev]
debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 1
debug = false
[profile.release]
strip = "symbols"