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

add mime-type checking; better panic handling #2304

Merged
merged 8 commits into from
Nov 21, 2024

Commits on Nov 21, 2024

  1. Configuration menu
    Copy the full SHA
    27e527a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ad594b View commit details
    Browse the repository at this point in the history
  3. feat: add mime-type checking

    that can be suppressed with QSV_SKIP_FORMAT_CHECK env var
    jqnatividad committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    4121f07 View commit details
    Browse the repository at this point in the history
  4. feat: add custom panic handler

    with a better UI/UX
    jqnatividad committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    500c13f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    94bda2f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    557aba4 View commit details
    Browse the repository at this point in the history
  7. docs: added QSV_SKIP_FORMAT_CHECK; corrected/updated some format erro…

    …rs and old default buffer values
    jqnatividad committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    0132fcf View commit details
    Browse the repository at this point in the history
  8. chore: apply clippy suggestions

    warning: immediately dereferencing a reference
        --> src/util.rs:1995:54
         |
    1995 |             match simd_json::serde::from_slice(&mut **&mut s_slice) {
         |                                                      ^^^^^^^^^^^^^ help: try: `s_slice`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof
         = note: `#[warn(clippy::deref_addrof)]` on by default
    
    warning: immediately dereferencing a reference
        --> src/util.rs:2139:54
         |
    2139 |             match simd_json::serde::from_slice(&mut **&mut s_slice) {
         |                                                      ^^^^^^^^^^^^^ help: try: `s_slice`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof
    
    warning: deref which would be done by auto-deref
        --> src/util.rs:1995:48
         |
    1995 |             match simd_json::serde::from_slice(&mut **&mut s_slice) {
         |                                                ^^^^^^^^^^^^^^^^^^^ help: try: `&mut s_slice`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
         = note: `#[warn(clippy::explicit_auto_deref)]` on by default
    
    warning: this expression creates a reference which is immediately dereferenced by the compiler
        --> src/util.rs:2126:63
         |
    2126 |         csv_to_jsonl(&tempfile_path, &get_stats_data_types(), &statsdatajson_path)?;
         |                                                               ^^^^^^^^^^^^^^^^^^^ help: change this to: `statsdatajson_path`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
         = note: `#[warn(clippy::needless_borrow)]` on by default
    
    warning: deref which would be done by auto-deref
        --> src/util.rs:2139:48
         |
    2139 |             match simd_json::serde::from_slice(&mut **&mut s_slice) {
         |                                                ^^^^^^^^^^^^^^^^^^^ help: try: `&mut s_slice`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
    jqnatividad committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    219eb84 View commit details
    Browse the repository at this point in the history