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

ran Cargo outdated #178

Merged
merged 2 commits into from
Aug 3, 2023
Merged

ran Cargo outdated #178

merged 2 commits into from
Aug 3, 2023

Conversation

martinfrances107
Copy link
Contributor

@martinfrances107 martinfrances107 commented Aug 2, 2023

ran cargo outdated

I have trimmed down the list by using the modern versions of a couple of packges.

it a long list ... and can be completely cleared because of this

Cargo.toml
-- not using notify 5.0 because it uses Crossbeam which has an issue with tokio
notify = "4.0"

Running "cargo doc" gives this warning

warning: unknown lint: `clippy::needless_pass_by_ref_mut`
   --> src/service/reload.rs:104:9
    |
104 | #[allow(clippy::needless_pass_by_ref_mut)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::needless_pass_by_value`
    |
    = note: `#[warn(unknown_lints)]` on by default

warning: `cargo-leptos` (lib) generated 1 warning

The name "needless_pass_by_ref_mut" was not wrong at the time of writing, it is just stale

https://rust-lang.github.io/rust-clippy/master/index.html#/clippy::needless_pass_by_ref_mut

Additionally this "allow" is no longer needed to get cargo clippy to "pass" as of

cargo clippy --version
clippy 0.1.71 (8ede3aa 2023-07-12)
I have trimmed down the list by using the modern versions of a couple of packges.

it a long list ... and can be completely cleared because of this

Cargo.toml
# not using notify 5.0 because it uses Crossbeam which has an issue with tokio
notify = "4.0"
aperepel pushed a commit to aperepel/cargo-leptos that referenced this pull request Aug 3, 2023
@aperepel aperepel merged commit 555a50c into leptos-rs:main Aug 3, 2023
3 checks passed
@martinfrances107 martinfrances107 deleted the update branch August 4, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants