Skip to content

Commit aa7092e

Browse files
committed
internal: refactor crate dir structure
1 parent 956204e commit aa7092e

File tree

290 files changed

+59
-37
lines changed

Some content is hidden

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

290 files changed

+59
-37
lines changed

β€ŽCargo.tomlβ€Ž

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,31 @@
11
[workspace]
2-
members = [
3-
"cli",
4-
"parser",
5-
"linter",
6-
"github"
7-
]
2+
members = ["crates/*"]
83

4+
[workspace.dependencies]
5+
# third party
6+
serde_json = "1.0"
7+
tempfile = "3.2.0"
8+
serde = { version = "1.0", features = ["derive"] }
9+
structopt = "0.3"
10+
console = "0.11.3"
11+
atty = "0.2"
12+
base64 = "0.12.2"
13+
simplelog = "0.12.0"
14+
log = "0.4.8"
15+
toml = "0.5.9"
16+
glob = "0.3.1"
17+
insta = "0.16.0"
18+
jsonwebtoken = "8.1.1"
19+
reqwest = { version = "0.9.18", features = ["default-tls-vendored"]}
20+
serde_plain = "1.0"
21+
lazy_static = "1.4.0"
22+
serde_repr = "0.1"
23+
libpg_query-sys = { git = "https://github.com/chdsbd/libpg_query-sys.git", rev = "ac223c7b197459d657d166449ccf99883f23bbcb" }
924

25+
# local
26+
squawk-parser = { version = "0.0.0", path = "./crates/parser" }
27+
squawk-linter = { version = "0.0.0", path = "./crates/linter" }
28+
squawk-github = { version = "0.0.0", path = "./crates/github" }
29+
30+
[profile.dev.package]
31+
insta.opt-level = 3
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ categories = ["command-line-utilities", "development-tools"]
1414
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1515

1616
[dependencies]
17-
serde_json = "1.0"
18-
tempfile = "3.2.0"
19-
serde = { version = "1.0", features = ["derive"] }
20-
structopt = "0.3"
21-
console = "0.11.3"
22-
atty = "0.2"
23-
base64 = "0.12.2"
24-
simplelog = "0.12.0"
25-
log = "0.4.8"
26-
squawk-parser = { version = "0.0.0", path = "../parser" }
27-
squawk-linter = { version = "0.0.0", path = "../linter" }
28-
squawk-github = { version = "0.0.0", path = "../github" }
29-
toml = "0.5.9"
30-
glob = "0.3.1"
17+
serde_json.workspace = true
18+
tempfile.workspace = true
19+
serde.workspace = true
20+
structopt.workspace = true
21+
console.workspace = true
22+
atty.workspace = true
23+
base64.workspace = true
24+
simplelog.workspace = true
25+
log.workspace = true
26+
squawk-parser.workspace = true
27+
squawk-linter.workspace = true
28+
squawk-github.workspace = true
29+
toml.workspace = true
30+
glob.workspace = true
3131

3232
[dev-dependencies]
33-
insta = "0.16.0"
33+
insta.workspace = true

cli/src/snapshots/squawk__config__test_config__load_assume_in_transaction.snap renamed to crates/cli/src/snapshots/squawk__config__test_config__load_assume_in_transaction.snap

File renamed without changes.
File renamed without changes.

cli/src/snapshots/squawk__config__test_config__load_excluded_paths.snap renamed to crates/cli/src/snapshots/squawk__config__test_config__load_excluded_paths.snap

File renamed without changes.

0 commit comments

Comments
Β (0)