Skip to content

Commit

Permalink
remove dependency on test_case
Browse files Browse the repository at this point in the history
this macro was proving annoying by obscuring compiler errors, rustfmt,
and rust_analyzer. With this we should replicate all it's behaviour
except being able to see multiple case failures at once, and we get to
remove a dependency as a bonus
  • Loading branch information
intarga committed Dec 13, 2024
1 parent 93038b6 commit 2cc0a95
Show file tree
Hide file tree
Showing 6 changed files with 554 additions and 366 deletions.
35 changes: 0 additions & 35 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ rand_distr = "0.4.3"
regex = "1.11.1"
rove = { git = "https://github.com/metno/rove.git" }
serde = { version = "1.0.215", features = ["derive"] }
test-case = "3.3.1"
thiserror = "1.0.69"
tokio = { version = "1.41.1", features = ["rt-multi-thread", "macros"] }
tokio-postgres = { version = "0.7.12", features = ["with-chrono-0_4"] }
3 changes: 0 additions & 3 deletions ingestion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,3 @@ serde.workspace = true
thiserror.workspace = true
tokio.workspace = true
tokio-postgres.workspace = true

[dev-dependencies]
test-case.workspace = true
Loading

0 comments on commit 2cc0a95

Please sign in to comment.