Revert lint exception by setting minor version of protobuf (#1339)

This commit is contained in:
yubiuser 2024-09-16 19:42:55 +02:00 committed by GitHub
parent 338d8b90b2
commit 22a8850fe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 497 additions and 699 deletions

View file

@ -6,7 +6,7 @@ FROM rust:${rust_version}-${debian_version}
ARG DEBIAN_FRONTEND=noninteractive
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
ENV RUST_BACKTRACE=1
ENV RUSTFLAGS="-D warnings -A renamed-and-removed-lints"
ENV RUSTFLAGS="-D warnings"
RUN apt-get update && \

View file

@ -5,7 +5,7 @@ FROM rust:${rust_version}-${alpine_version}
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
ENV RUST_BACKTRACE=1
ENV RUSTFLAGS="-D warnings -A renamed-and-removed-lints -C target-feature=-crt-static"
ENV RUSTFLAGS="-D warnings -C target-feature=-crt-static"
RUN apk add --no-cache \

View file

@ -37,7 +37,7 @@ on:
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -D warnings -A renamed-and-removed-lints
RUSTFLAGS: -D warnings
# The layering here is as follows:
# 1. code formatting

1182
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,7 @@ edition = "2021"
form_urlencoded = "1.0"
futures-util = "0.3"
log = "0.4"
protobuf = "3"
protobuf = "3.5"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

View file

@ -45,7 +45,7 @@ once_cell = "1"
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
priority-queue = "2.0"
protobuf = "3"
protobuf = "3.5"
quick-xml = { version = "0.36.1", features = ["serialize"] }
rand = "0.8"
rsa = "0.9.2"

View file

@ -13,7 +13,7 @@ async-trait = "0.1"
byteorder = "1"
bytes = "1"
log = "0.4"
protobuf = "3"
protobuf = "3.5"
thiserror = "1"
uuid = { version = "1", default-features = false }
serde = { version = "1.0", features = ["derive"] }

View file

@ -10,7 +10,7 @@ repository = "https://github.com/librespot-org/librespot"
edition = "2021"
[dependencies]
protobuf = "3"
protobuf = "3.5"
[build-dependencies]
protobuf-codegen = "3"