Skip to content

Commit 2085545

Browse files
authored
internal: update cargo metadata (#665)
We've already published some crates in the past with kebab case so updating the casing of all the crates to have kebab case. Also add some basic meta fields that cargo publish warned about in CI
1 parent 7b0a32d commit 2085545

File tree

11 files changed

+84
-55
lines changed

11 files changed

+84
-55
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ edition = "2024"
88
rust-version = "1.90.0"
99
authors = ["Squawk Team & Contributors"]
1010
license = "Apache-2.0 OR MIT"
11+
description = "Linter for Postgres migrations & SQL"
12+
documentation = "https://squawkhq.com/docs/"
13+
homepage = "https://squawkhq.com"
14+
repository = "https://github.com/sbdchd/squawk"
1115

1216
[workspace.dependencies]
1317
# third party
@@ -55,12 +59,12 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }
5559

5660
# local
5761
# we have to make the versions explicit otherwise `cargo publish` won't work
58-
squawk_github = { path = "./crates/squawk_github", version = "2.27.0" }
59-
squawk_lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
60-
squawk_parser = { path = "./crates/squawk_parser", version = "2.27.0" }
61-
squawk_syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }
62-
squawk_linter = { path = "./crates/squawk_linter", version = "2.27.0" }
63-
squawk_server = { path = "./crates/squawk_server", version = "2.27.0" }
62+
squawk-github = { path = "./crates/squawk_github", version = "2.27.0" }
63+
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
64+
squawk-parser = { path = "./crates/squawk_parser", version = "2.27.0" }
65+
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }
66+
squawk-linter = { path = "./crates/squawk_linter", version = "2.27.0" }
67+
squawk-server = { path = "./crates/squawk_server", version = "2.27.0" }
6468

6569
[workspace.lints.clippy]
6670
collapsible_else_if = "allow"

crates/squawk/Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ authors.workspace = true
77
edition.workspace = true
88
license.workspace = true
99
description = "Linter for Postgresql focused on database migrations."
10-
repository = "https://github.com/sbdchd/squawk"
11-
documentation = "https://github.com/sbdchd/squawk/blob/master/README.md"
10+
documentation.workspace = true
11+
homepage.workspace = true
12+
repository.workspace = true
1213
readme = "../../README.md"
1314
keywords = ["postgres", "postgresql", "linter"]
1415
categories = ["command-line-utilities", "development-tools"]
@@ -25,11 +26,11 @@ base64.workspace = true
2526
simplelog.workspace = true
2627
log.workspace = true
2728
enum-iterator.workspace = true
28-
squawk_syntax.workspace = true
29-
squawk_linter.workspace = true
30-
squawk_lexer.workspace = true
31-
squawk_github.workspace = true
32-
squawk_server.workspace = true
29+
squawk-syntax.workspace = true
30+
squawk-linter.workspace = true
31+
squawk-lexer.workspace = true
32+
squawk-github.workspace = true
33+
squawk-server.workspace = true
3334
toml.workspace = true
3435
glob.workspace = true
3536
anyhow.workspace = true

crates/squawk_github/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[package]
2-
name = "squawk_github"
2+
name = "squawk-github"
33
version.workspace = true
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
77
description = "Postgres SQL linter Github APIs used in Squawk"
8-
repository = "https://github.com/sbdchd/squawk"
8+
documentation.workspace = true
9+
homepage.workspace = true
10+
repository.workspace = true
911
readme = "README.md"
1012
keywords = ["bot", "github", "linter"]
1113

crates/squawk_lexer/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
2-
name = "squawk_lexer"
2+
name = "squawk-lexer"
33
version.workspace = true
4-
description = "TBD"
4+
description.workspace = true
5+
documentation.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
58

69
authors.workspace = true
710
edition.workspace = true

crates/squawk_linter/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
[package]
2-
name = "squawk_linter"
2+
name = "squawk-linter"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
66
authors.workspace = true
77
license.workspace = true
8+
description.workspace = true
9+
documentation.workspace = true
10+
homepage.workspace = true
11+
repository.workspace = true
812

913
[dependencies]
10-
squawk_syntax.workspace = true
14+
squawk-syntax.workspace = true
1115

1216
rowan.workspace = true
1317
serde.workspace = true

crates/squawk_parser/Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
2-
name = "squawk_parser"
2+
name = "squawk-parser"
33
version.workspace = true
4-
description = "TBD"
4+
description.workspace = true
5+
documentation.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
58

69
authors.workspace = true
710
edition.workspace = true
@@ -12,7 +15,7 @@ rust-version.workspace = true
1215
doctest = false
1316

1417
[dependencies]
15-
squawk_lexer.workspace = true
18+
squawk-lexer.workspace = true
1619
drop_bomb.workspace = true
1720

1821
[dev-dependencies]

crates/squawk_server/Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[package]
2-
name = "squawk_server"
2+
name = "squawk-server"
33
version.workspace = true
44

55
authors.workspace = true
66
edition.workspace = true
77
license.workspace = true
88
description = "LSP server for Squawk"
9+
documentation.workspace = true
10+
homepage.workspace = true
11+
repository.workspace = true
912

1013
[dependencies]
1114
anyhow.workspace = true
@@ -15,9 +18,9 @@ lsp-server.workspace = true
1518
lsp-types.workspace = true
1619
serde.workspace = true
1720
serde_json.workspace = true
18-
squawk_lexer.workspace = true
19-
squawk_linter.workspace = true
20-
squawk_syntax.workspace = true
21+
squawk-lexer.workspace = true
22+
squawk-linter.workspace = true
23+
squawk-syntax.workspace = true
2124
line-index.workspace = true
2225
insta.workspace = true
2326

crates/squawk_syntax/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
[package]
2-
name = "squawk_syntax"
2+
name = "squawk-syntax"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
66
authors.workspace = true
77
license.workspace = true
8+
description.workspace = true
9+
documentation.workspace = true
10+
homepage.workspace = true
11+
repository.workspace = true
812

913
[dependencies]
10-
squawk_parser.workspace = true
14+
squawk-parser.workspace = true
1115
rowan.workspace = true
1216
smol_str.workspace = true
1317

crates/squawk_wasm/Cargo.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[package]
2-
name = "squawk_wasm"
2+
name = "squawk-wasm"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
66
authors.workspace = true
77
license.workspace = true
8+
description.workspace = true
9+
documentation.workspace = true
10+
homepage.workspace = true
11+
repository.workspace = true
812

913
[lib]
1014
crate-type = ["cdylib", "rlib"]
@@ -14,9 +18,9 @@ default = ["console_error_panic_hook"]
1418

1519
[dependencies]
1620

17-
squawk_syntax.workspace = true
18-
squawk_linter.workspace = true
19-
squawk_lexer.workspace = true
21+
squawk-syntax.workspace = true
22+
squawk-linter.workspace = true
23+
squawk-lexer.workspace = true
2024

2125
wasm-bindgen.workspace = true
2226
serde-wasm-bindgen.workspace = true

0 commit comments

Comments
 (0)