Release v0.7.6 #835
Annotations
3 warnings
security_audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, rustsec/audit-check@v1.4.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
security_audit
1 warnings found!
|
file opened with `create`, but `truncate` behavior not defined:
profiler/src/main.rs#L163
warning: file opened with `create`, but `truncate` behavior not defined
--> profiler/src/main.rs:163:47
|
163 | let file = OpenOptions::new().write(true).create(true).open(path)?;
| ^^^^^^^^^^^^- help: add: `.truncate(true)`
|
= help: if you intend to overwrite an existing file entirely, call `.truncate(true)`
= help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)`
= help: alternatively, use `.append(true)` to append to the file instead of overwriting it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options
= note: `#[warn(clippy::suspicious_open_options)]` on by default
|