Skip to content

Commit

Permalink
Silence warnings from ts-rs (#4415)
Browse files Browse the repository at this point in the history
* Silence warnings from ts-rs

Aleph-Alpha/ts-rs#108

* fmt
  • Loading branch information
Nutomic authored Jan 29, 2024
1 parent 0e9924a commit a09027c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ http = "0.2.11"
rosetta-i18n = "0.1.3"
opentelemetry = { version = "0.19.0", features = ["rt-tokio"] }
tracing-opentelemetry = { version = "0.19.0" }
ts-rs = { version = "7.1.1", features = ["serde-compat", "chrono-impl"] }
ts-rs = { version = "7.1.1", features = [
"serde-compat",
"chrono-impl",
"no-serde-warnings",
] }
rustls = { version = "0.21.10", features = ["dangerous_configuration"] }
futures-util = "0.3.30"
tokio-postgres = "0.7.10"
Expand Down
4 changes: 2 additions & 2 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"

cd $CWD/../

cargo clippy --workspace --fix --allow-staged --allow-dirty --tests --all-targets --all-features -- -D warnings

# Format rust files
cargo +nightly fmt

Expand All @@ -15,3 +13,5 @@ taplo format

# Format sql files
find migrations -type f -name '*.sql' -exec pg_format -i {} +

cargo clippy --workspace --fix --allow-staged --allow-dirty --tests --all-targets --all-features -- -D warnings

0 comments on commit a09027c

Please sign in to comment.