Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ edition = "2024"
rust-version = "1.90.0"
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
Expand Down Expand Up @@ -55,12 +59,12 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }

# local
# we have to make the versions explicit otherwise `cargo publish` won't work
squawk_github = { path = "./crates/squawk_github", version = "2.27.0" }
squawk_lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
squawk_parser = { path = "./crates/squawk_parser", version = "2.27.0" }
squawk_syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }
squawk_linter = { path = "./crates/squawk_linter", version = "2.27.0" }
squawk_server = { path = "./crates/squawk_server", version = "2.27.0" }
squawk-github = { path = "./crates/squawk_github", version = "2.27.0" }
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
squawk-parser = { path = "./crates/squawk_parser", version = "2.27.0" }
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }
squawk-linter = { path = "./crates/squawk_linter", version = "2.27.0" }
squawk-server = { path = "./crates/squawk_server", version = "2.27.0" }

[workspace.lints.clippy]
collapsible_else_if = "allow"
Expand Down
15 changes: 8 additions & 7 deletions crates/squawk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ authors.workspace = true
edition.workspace = true
license.workspace = true
description = "Linter for Postgresql focused on database migrations."
repository = "https://github.com/sbdchd/squawk"
documentation = "https://github.com/sbdchd/squawk/blob/master/README.md"
documentation.workspace = true
homepage.workspace = true
repository.workspace = true
readme = "../../README.md"
keywords = ["postgres", "postgresql", "linter"]
categories = ["command-line-utilities", "development-tools"]
Expand All @@ -25,11 +26,11 @@ base64.workspace = true
simplelog.workspace = true
log.workspace = true
enum-iterator.workspace = true
squawk_syntax.workspace = true
squawk_linter.workspace = true
squawk_lexer.workspace = true
squawk_github.workspace = true
squawk_server.workspace = true
squawk-syntax.workspace = true
squawk-linter.workspace = true
squawk-lexer.workspace = true
squawk-github.workspace = true
squawk-server.workspace = true
toml.workspace = true
glob.workspace = true
anyhow.workspace = true
Expand Down
6 changes: 4 additions & 2 deletions crates/squawk_github/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[package]
name = "squawk_github"
name = "squawk-github"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
description = "Postgres SQL linter Github APIs used in Squawk"
repository = "https://github.com/sbdchd/squawk"
documentation.workspace = true
homepage.workspace = true
repository.workspace = true
readme = "README.md"
keywords = ["bot", "github", "linter"]

Expand Down
7 changes: 5 additions & 2 deletions crates/squawk_lexer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "squawk_lexer"
name = "squawk-lexer"
version.workspace = true
description = "TBD"
description.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true

authors.workspace = true
edition.workspace = true
Expand Down
8 changes: 6 additions & 2 deletions crates/squawk_linter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[package]
name = "squawk_linter"
name = "squawk-linter"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
squawk_syntax.workspace = true
squawk-syntax.workspace = true

rowan.workspace = true
serde.workspace = true
Expand Down
9 changes: 6 additions & 3 deletions crates/squawk_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "squawk_parser"
name = "squawk-parser"
version.workspace = true
description = "TBD"
description.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true

authors.workspace = true
edition.workspace = true
Expand All @@ -12,7 +15,7 @@ rust-version.workspace = true
doctest = false

[dependencies]
squawk_lexer.workspace = true
squawk-lexer.workspace = true
drop_bomb.workspace = true

[dev-dependencies]
Expand Down
11 changes: 7 additions & 4 deletions crates/squawk_server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[package]
name = "squawk_server"
name = "squawk-server"
version.workspace = true

authors.workspace = true
edition.workspace = true
license.workspace = true
description = "LSP server for Squawk"
documentation.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
anyhow.workspace = true
Expand All @@ -15,9 +18,9 @@ lsp-server.workspace = true
lsp-types.workspace = true
serde.workspace = true
serde_json.workspace = true
squawk_lexer.workspace = true
squawk_linter.workspace = true
squawk_syntax.workspace = true
squawk-lexer.workspace = true
squawk-linter.workspace = true
squawk-syntax.workspace = true
line-index.workspace = true
insta.workspace = true

Expand Down
8 changes: 6 additions & 2 deletions crates/squawk_syntax/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[package]
name = "squawk_syntax"
name = "squawk-syntax"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
squawk_parser.workspace = true
squawk-parser.workspace = true
rowan.workspace = true
smol_str.workspace = true

Expand Down
12 changes: 8 additions & 4 deletions crates/squawk_wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
[package]
name = "squawk_wasm"
name = "squawk-wasm"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true

[lib]
crate-type = ["cdylib", "rlib"]
Expand All @@ -14,9 +18,9 @@ default = ["console_error_panic_hook"]

[dependencies]

squawk_syntax.workspace = true
squawk_linter.workspace = true
squawk_lexer.workspace = true
squawk-syntax.workspace = true
squawk-linter.workspace = true
squawk-lexer.workspace = true

wasm-bindgen.workspace = true
serde-wasm-bindgen.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "xtask"
version.workspace = true
publish = false

authors.workspace = true
edition.workspace = true
Expand Down
Loading