Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency rust to v1.84.0 #357

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.83.0"
channel = "1.84.0"
components = ["rustfmt", "rust-src", "rust-std", "clippy"]
targets = [
"x86_64-unknown-linux-gnu",
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
pub server_socket: Option<String>,
}

fn validate_listener(config: &Spis) -> &str {
fn validate_listener(config: &Spis) -> &'static str {

Check warning on line 158 in src/main.rs

View check run for this annotation

Codecov / codecov/patch

src/main.rs#L158

Added line #L158 was not covered by tests
match (
&config.listener.server_address,
&config.listener.server_socket,
Expand Down
2 changes: 1 addition & 1 deletion src/media/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
tracing::debug!("Calculating uuid for: {:?}", path);

let mut file = File::open(path).wrap_err("Failed to open file")?;
let mut buffer = [0; BUFFER_SIZE];
let mut buffer = vec![0; BUFFER_SIZE].into_boxed_slice();

Check warning on line 30 in src/media/util.rs

View check run for this annotation

Codecov / codecov/patch

src/media/util.rs#L30

Added line #L30 was not covered by tests
let mut hasher = Md5::new();

loop {
Expand Down
Loading